diff --git a/arch/arm/src/cxd56xx/Make.defs b/arch/arm/src/cxd56xx/Make.defs index ee2928dc9a..262705c81b 100644 --- a/arch/arm/src/cxd56xx/Make.defs +++ b/arch/arm/src/cxd56xx/Make.defs @@ -45,6 +45,7 @@ CHIP_CSRCS += cxd56_cpupause.c CHIP_CSRCS += cxd56_cpustart.c ifeq ($(CONFIG_CXD56_TESTSET),y) CHIP_CSRCS += cxd56_testset.c +CMN_ASRCS := $(filter-out arm_testset.S,$(CMN_ASRCS)) endif endif diff --git a/arch/arm/src/lc823450/Make.defs b/arch/arm/src/lc823450/Make.defs index 1d93056046..905f3a1786 100644 --- a/arch/arm/src/lc823450/Make.defs +++ b/arch/arm/src/lc823450/Make.defs @@ -95,6 +95,7 @@ CHIP_CSRCS += lc823450_cpuindex.c CHIP_CSRCS += lc823450_cpupause.c CHIP_CSRCS += lc823450_cpustart.c CHIP_CSRCS += lc823450_testset.c +CMN_ASRCS := $(filter-out arm_testset.S,$(CMN_ASRCS)) endif ifeq ($(CONFIG_LC823450_SDRAM), y) diff --git a/arch/arm/src/rp2040/Make.defs b/arch/arm/src/rp2040/Make.defs index 3b19c39865..95fe8d1d24 100644 --- a/arch/arm/src/rp2040/Make.defs +++ b/arch/arm/src/rp2040/Make.defs @@ -38,6 +38,7 @@ CHIP_CSRCS += rp2040_cpustart.c CHIP_CSRCS += rp2040_cpupause.c CHIP_CSRCS += rp2040_cpuidlestack.c CHIP_CSRCS += rp2040_testset.c +CMN_ASRCS := $(filter-out arm_testset.S,$(CMN_ASRCS)) endif ifeq ($(CONFIG_RP2040_DMAC),y)