diff options
author | Tom Rini <trini@konsulko.com> | 2015-11-10 13:38:08 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-11-10 13:38:08 -0500 |
commit | cad04990715f7eaecd45196e84cf10e9e3248dae (patch) | |
tree | 269c3c01ad2134c69d7a7d42585baac9f091a837 /examples | |
parent | 7ff15aca1a5bbfcf2dfbc18ec7b031c482851f69 (diff) | |
parent | 5e68ff3949a3eebf62ba639171814f39c8e46a84 (diff) |
Merge branch 'master' of git://git.denx.de/u-boot-arm
Diffstat (limited to 'examples')
-rw-r--r-- | examples/standalone/Makefile | 10 |
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 $(obj)/%.bin: OBJCOPYFLAGS := -O binary $(obj)/%.bin: $(obj)/% FORCE $(call if_changed,objcopy) + +# some files can only build in ARM or THUMB2, not THUMB1 + +ifdef CONFIG_SYS_THUMB_BUILD +ifndef CONFIG_HAS_THUMB2 + +CFLAGS_stubs.o := -marm + +endif +endif |