commit | 718cb61bf2a282bdfa411c8a197a9ffd4f02f9e3 | [log] [tgz] |
---|---|---|
author | David Müller (ELSOFT AG) <d.mueller@elsoft.ch> | Tue Feb 09 16:48:30 2016 +0100 |
committer | Tom Rini <trini@konsulko.com> | Mon Feb 15 12:04:46 2016 -0500 |
tree | e06ea021b561a16d829d1fa4105a32e1d590d1ab | |
parent | f963bb7cae28bc20257aca56a0cdc69b2d21894c [diff] [blame] |
arm: build some file(s) as ARM mode only Signed-off-by: David Müller <d.mueller@elsoft.ch>
diff --git a/arch/arm/cpu/arm920t/Makefile b/arch/arm/cpu/arm920t/Makefile index 6582938..1832b9d 100644 --- a/arch/arm/cpu/arm920t/Makefile +++ b/arch/arm/cpu/arm920t/Makefile
@@ -13,3 +13,9 @@ obj-$(CONFIG_EP93XX) += ep93xx/ obj-$(CONFIG_IMX) += imx/ obj-$(CONFIG_S3C24X0) += s3c24x0/ + +# some files can only build in ARM mode + +ifdef CONFIG_SYS_THUMB_BUILD +CFLAGS_cpu.o := -marm +endif