aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-orion5x/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-orion5x/Makefile')
-rw-r--r--arch/arm/mach-orion5x/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-orion5x/Makefile b/arch/arm/mach-orion5x/Makefile
index 33dcad4..5249aa8 100644
--- a/arch/arm/mach-orion5x/Makefile
+++ b/arch/arm/mach-orion5x/Makefile
@@ -19,7 +19,7 @@ endif
# 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