xref: /optee_os/core/arch/riscv/mm/sub.mk (revision 5c2c0fb31efbeff60960336d7438e810b825d582)
1srcs-y += tlb_helpers_rv.S
2
3ifeq ($(CFG_SYSCALL_FTRACE),y)
4# We would not like to profile MMU APIs as these are used to switch TA
5# context which may cause undesired behaviour as ftrace requires TA context
6# to be active. Moreover profiling code uses some of MMU APIs to check
7# if TA context is active or not.
8cflags-remove-core_mmu_arch.c-y += -pg
9endif
10