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