mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-21 02:33:07 +00:00
9493e96e54
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>
22 lines
457 B
Makefile
22 lines
457 B
Makefile
#
|
|
# (C) Copyright 2012-2014
|
|
# Texas Instruments Incorporated, <www.ti.com>
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
obj-y += init.o
|
|
obj-y += psc.o
|
|
obj-y += clock.o
|
|
obj-y += mon.o
|
|
CFLAGS_REMOVE_mon.o := $(LTO_CFLAGS)
|
|
ifndef CONFIG_SPL_BUILD
|
|
obj-y += cmd_clock.o
|
|
obj-y += cmd_mon.o
|
|
obj-y += cmd_poweroff.o
|
|
endif
|
|
obj-y += msmc.o
|
|
obj-y += ddr3.o
|
|
obj-y += keystone.o
|
|
obj-$(CONFIG_TARGET_K2E_EVM) += ddr3_spd.o
|
|
obj-$(CONFIG_TARGET_K2HK_EVM) += ddr3_spd.o
|