diff options
author | David Müller (ELSOFT AG) <d.mueller@elsoft.ch> | 2016-02-09 18:48:30 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-02-15 20:04:46 +0300 |
commit | 26275dae828068c02be5a2ef67eab70bddb75e8c (patch) | |
tree | e06ea021b561a16d829d1fa4105a32e1d590d1ab /arch/arm/cpu/arm920t | |
parent | 02499e4edc885b3064c76f8b6e84d9ff8d7a6b4b (diff) | |
download | u-boot-26275dae828068c02be5a2ef67eab70bddb75e8c.tar.xz |
arm: build some file(s) as ARM mode only
Signed-off-by: David Müller <d.mueller@elsoft.ch>
Diffstat (limited to 'arch/arm/cpu/arm920t')
-rw-r--r-- | arch/arm/cpu/arm920t/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/cpu/arm920t/Makefile b/arch/arm/cpu/arm920t/Makefile index 6582938db0..1832b9d148 100644 --- a/arch/arm/cpu/arm920t/Makefile +++ b/arch/arm/cpu/arm920t/Makefile @@ -13,3 +13,9 @@ obj-$(CONFIG_USE_IRQ) += interrupts.o 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 |