Merge git://git.denx.de/u-boot-sunxi
[oweals/u-boot.git] / arch / arm / cpu / arm926ejs / Makefile
index fe78922170b8ffbd87bda7e9e6acdb3d9509b780..0f730117c0e7821e8263c15ea9ecffdfbe3ed945 100644 (file)
@@ -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