1
0
Fork 0

arm: build some file(s) as ARM mode only

Signed-off-by: David Müller <d.mueller@elsoft.ch>
utp
David Müller (ELSOFT AG) 2016-02-09 16:48:30 +01:00 committed by Tom Rini
parent 02499e4edc
commit 26275dae82
1 changed files with 6 additions and 0 deletions

View File

@ -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