From f527abc324260c1fa21d5846922d012d308dcb5c Mon Sep 17 00:00:00 2001 From: Abdelatif Guettouche Date: Mon, 4 Apr 2022 13:17:41 +0200 Subject: [PATCH] arch/xtensa: Build the xtensa_tcbinfo.c file for S2 and S3. Signed-off-by: Abdelatif Guettouche --- arch/xtensa/src/esp32/Make.defs | 1 - arch/xtensa/src/esp32s2/Make.defs | 4 ++++ arch/xtensa/src/esp32s3/Make.defs | 4 ++++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/xtensa/src/esp32/Make.defs b/arch/xtensa/src/esp32/Make.defs index f90195d53bf..5bfdac40b38 100644 --- a/arch/xtensa/src/esp32/Make.defs +++ b/arch/xtensa/src/esp32/Make.defs @@ -47,7 +47,6 @@ ifeq ($(CONFIG_DEBUG_TCBINFO),y) CMN_CSRCS += xtensa_tcbinfo.c endif - ifeq ($(CONFIG_DEBUG_ALERT),y) CMN_CSRCS += xtensa_dumpstate.c endif diff --git a/arch/xtensa/src/esp32s2/Make.defs b/arch/xtensa/src/esp32s2/Make.defs index 7f389613fb2..ed40a7082fa 100644 --- a/arch/xtensa/src/esp32s2/Make.defs +++ b/arch/xtensa/src/esp32s2/Make.defs @@ -44,6 +44,10 @@ CMN_CSRCS += xtensa_switchcontext.c # Configuration-dependent common XTENSA files +ifeq ($(CONFIG_DEBUG_TCBINFO),y) + CMN_CSRCS += xtensa_tcbinfo.c +endif + ifeq ($(CONFIG_DEBUG_ALERT),y) CMN_CSRCS += xtensa_dumpstate.c endif diff --git a/arch/xtensa/src/esp32s3/Make.defs b/arch/xtensa/src/esp32s3/Make.defs index a703e77ce1e..2ffe1d149a7 100644 --- a/arch/xtensa/src/esp32s3/Make.defs +++ b/arch/xtensa/src/esp32s3/Make.defs @@ -44,6 +44,10 @@ CMN_CSRCS += xtensa_switchcontext.c # Configuration-dependent common XTENSA files +ifeq ($(CONFIG_DEBUG_TCBINFO),y) + CMN_CSRCS += xtensa_tcbinfo.c +endif + ifeq ($(CONFIG_DEBUG_ALERT),y) CMN_CSRCS += xtensa_dumpstate.c endif