1srcs-y += core_mmu.c 2srcs-$(CFG_WITH_PAGER) += tee_pager.c 3ifeq ($(CFG_WITH_LPAE),y) 4srcs-y += core_mmu_lpae.c 5else 6srcs-y += core_mmu_v7.c 7endif 8srcs-y += pgt_cache.c 9srcs-$(CFG_CORE_FFA) += mobj_ffa.c 10srcs-$(CFG_SECURE_PARTITION) += sp_mem.c 11ifneq ($(CFG_CORE_FFA),y) 12srcs-$(CFG_CORE_DYN_SHM) += mobj_dyn_shm.c 13endif 14 15ifeq ($(CFG_SYSCALL_FTRACE),y) 16# We would not like to profile MMU APIs as these are used to switch TA 17# context which may cause undesired behaviour as ftrace requires TA context 18# to be active. Moreover profiling code uses some of MMU APIs to check 19# if TA context is active or not. 20ifeq ($(CFG_WITH_LPAE),y) 21cflags-remove-core_mmu_lpae.c-y += -pg 22else 23cflags-remove-core_mmu_v7.c-y += -pg 24endif 25endif 26