mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-14 12:56:00 +01:00
ARM: fix LTO for keystone
When building keystone with LTO the compiler complains: Error: selected processor does not support `smc #0' in Thumb mode Fix this by removing -flto for the file implementing these SMC calls. Signed-off-by: Marek Behún <marek.behun@nic.cz>
This commit is contained in:
parent
28d476eada
commit
9493e96e54
@ -9,6 +9,7 @@ obj-y += init.o
|
|||||||
obj-y += psc.o
|
obj-y += psc.o
|
||||||
obj-y += clock.o
|
obj-y += clock.o
|
||||||
obj-y += mon.o
|
obj-y += mon.o
|
||||||
|
CFLAGS_REMOVE_mon.o := $(LTO_CFLAGS)
|
||||||
ifndef CONFIG_SPL_BUILD
|
ifndef CONFIG_SPL_BUILD
|
||||||
obj-y += cmd_clock.o
|
obj-y += cmd_clock.o
|
||||||
obj-y += cmd_mon.o
|
obj-y += cmd_mon.o
|
||||||
|
Loading…
x
Reference in New Issue
Block a user