aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Rini2015-11-10 12:38:08 -0600
committerTom Rini2015-11-10 12:38:08 -0600
commitcad04990715f7eaecd45196e84cf10e9e3248dae (patch)
tree269c3c01ad2134c69d7a7d42585baac9f091a837 /examples
parent7ff15aca1a5bbfcf2dfbc18ec7b031c482851f69 (diff)
parent5e68ff3949a3eebf62ba639171814f39c8e46a84 (diff)
downloadu-boot-cad04990715f7eaecd45196e84cf10e9e3248dae.tar.gz
u-boot-cad04990715f7eaecd45196e84cf10e9e3248dae.tar.xz
u-boot-cad04990715f7eaecd45196e84cf10e9e3248dae.zip
Merge branch 'master' of git://git.denx.de/u-boot-arm
Diffstat (limited to 'examples')
-rw-r--r--examples/standalone/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/standalone/Makefile b/examples/standalone/Makefile
index 0863a8cda2..5a6ae0013c 100644
--- a/examples/standalone/Makefile
+++ b/examples/standalone/Makefile
@@ -73,3 +73,13 @@ $(obj)/%.srec: $(obj)/% FORCE
73$(obj)/%.bin: OBJCOPYFLAGS := -O binary 73$(obj)/%.bin: OBJCOPYFLAGS := -O binary
74$(obj)/%.bin: $(obj)/% FORCE 74$(obj)/%.bin: $(obj)/% FORCE
75 $(call if_changed,objcopy) 75 $(call if_changed,objcopy)
76
77# some files can only build in ARM or THUMB2, not THUMB1
78
79ifdef CONFIG_SYS_THUMB_BUILD
80ifndef CONFIG_HAS_THUMB2
81
82CFLAGS_stubs.o := -marm
83
84endif
85endif