projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02499e4
)
arm: build some file(s) as ARM mode only
author
David Müller (ELSOFT AG)
<d.mueller@elsoft.ch>
Tue, 9 Feb 2016 15:48:30 +0000
(16:48 +0100)
committer
Tom Rini
<trini@konsulko.com>
Mon, 15 Feb 2016 17:04:46 +0000
(12:04 -0500)
Signed-off-by: David Müller <d.mueller@elsoft.ch>
arch/arm/cpu/arm920t/Makefile
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/arm920t/Makefile
b/arch/arm/cpu/arm920t/Makefile
index 6582938db0e417d79c2b24276919c5e631d63cdc..1832b9d148304e657fffbf3041d82937a150fbff 100644
(file)
--- 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