You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2022/07/05 15:07:10 UTC
[incubator-nuttx] 03/03: xtensa: Build sources required for supporting CONFIG_BUILD_PROTECTED
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit f3e8decad25ba03c420a6b7fd37442dffed9904d
Author: Gustavo Henrique Nihei <gu...@espressif.com>
AuthorDate: Tue Jul 5 10:20:40 2022 -0300
xtensa: Build sources required for supporting CONFIG_BUILD_PROTECTED
Signed-off-by: Gustavo Henrique Nihei <gu...@espressif.com>
---
arch/xtensa/src/common/Make.defs | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/xtensa/src/common/Make.defs b/arch/xtensa/src/common/Make.defs
index f50485ced0..0d1c0162f5 100644
--- a/arch/xtensa/src/common/Make.defs
+++ b/arch/xtensa/src/common/Make.defs
@@ -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