arm: Migrate SYS_THUMB_BUILD to Kconfig, introduce SPL_SYS_THUMB_BUILD
[oweals/u-boot.git] / arch / arm / cpu / arm920t / Makefile
index 1832b9d148304e657fffbf3041d82937a150fbff..7aa432a6fc336c5a77bab3375354f95fe617708c 100644 (file)
@@ -16,6 +16,6 @@ obj-$(CONFIG_S3C24X0) += s3c24x0/
 
 # some files can only build in ARM mode
 
-ifdef CONFIG_SYS_THUMB_BUILD
+ifdef CONFIG_$(SPL_)SYS_THUMB_BUILD
 CFLAGS_cpu.o := -marm
 endif