summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/arm926ejs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/cpu/arm926ejs/Makefile')
-rw-r--r--arch/arm/cpu/arm926ejs/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/arm926ejs/Makefile b/arch/arm/cpu/arm926ejs/Makefile
index fe78922170..0f730117c0 100644
--- a/arch/arm/cpu/arm926ejs/Makefile
+++ b/arch/arm/cpu/arm926ejs/Makefile
@@ -23,7 +23,7 @@ obj-$(if $(filter spear,$(SOC)),y) += spear/
# some files can only build in ARM or THUMB2, not THUMB1
-ifdef CONFIG_SYS_THUMB_BUILD
+ifdef CONFIG_$(SPL_)SYS_THUMB_BUILD
ifndef CONFIG_HAS_THUMB2
CFLAGS_cpu.o := -marm