mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
kirkwood: support CONFIG_SYS_THUMB_BUILD
Kirkwood files cpu.c and cache.c cannot build in Thumb state; force them in ARM state even under CONFIG_SYS_THUMB_BUILD. Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
This commit is contained in:
parent
44b0e47ac0
commit
e7de61b3e4
1 changed files with 6 additions and 0 deletions
|
|
@ -9,3 +9,9 @@
|
|||
obj-y = cpu.o
|
||||
obj-y += cache.o
|
||||
obj-y += mpp.o
|
||||
|
||||
# cpu.o and cache.o contain CP15 instructions which cannot be run in
|
||||
# Thumb state, so build them for ARM state even with CONFIG_SYS_THUMB_BUILD
|
||||
|
||||
CFLAGS_cpu.o := -marm
|
||||
CFLAGS_cache.o := -marm
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue