xtensa: Build sources required for supporting CONFIG_BUILD_PROTECTED

Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
This commit is contained in:
Gustavo Henrique Nihei 2022-07-05 10:20:40 -03:00 committed by Xiang Xiao
parent cd1ed92844
commit f3e8decad2

View file

@ -72,3 +72,9 @@ ifeq ($(CONFIG_XTENSA_SEMIHOSTING_HOSTFS),y)
CMN_ASRCS += xtensa_simcall.S
CMN_CSRCS += xtensa_hostfs.c
endif
ifeq ($(CONFIG_BUILD_PROTECTED),y)
CMN_UASRCS += xtensa_signal_handler.S
CMN_ASRCS += xtensa_dispatch_syscall.S
CMN_CSRCS += xtensa_signal_dispatch.c xtensa_task_start.c xtensa_pthread_start.c
endif