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:09 UTC

[incubator-nuttx] 02/03: xtensa: Build sources for supporting CONFIG_SCHED_BACKTRACE

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 cd1ed928440377a843367ee35f3b4770e52b2e2b
Author: Gustavo Henrique Nihei <gu...@espressif.com>
AuthorDate: Tue Jul 5 10:19:42 2022 -0300

    xtensa: Build sources for supporting CONFIG_SCHED_BACKTRACE
    
    Signed-off-by: Gustavo Henrique Nihei <gu...@espressif.com>
---
 arch/xtensa/src/common/Make.defs | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/xtensa/src/common/Make.defs b/arch/xtensa/src/common/Make.defs
index 629c19d2bf..f50485ced0 100644
--- a/arch/xtensa/src/common/Make.defs
+++ b/arch/xtensa/src/common/Make.defs
@@ -52,6 +52,10 @@ ifeq ($(CONFIG_ARCH_FPU),y)
   CMN_CSRCS += xtensa_fpucmp.c
 endif
 
+ifeq ($(CONFIG_SCHED_BACKTRACE),y)
+  CMN_CSRCS += xtensa_backtrace.c
+endif
+
 ifeq ($(CONFIG_SPINLOCK),y)
   CMN_CSRCS += xtensa_testset.c
 endif