mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-20 18:23:08 +00:00
baa977bd0f
Adam Ford says that DM3730 needs board.c compiled without LTO flags. Signed-off-by: Marek Behún <marek.behun@nic.cz> Tested-by: Adam Ford <aford173@gmail.com>
25 lines
607 B
Makefile
25 lines
607 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# (C) Copyright 2000-2003
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
# If clock.c is compiled for Thumb2, then it fails on OMAP3530
|
|
CFLAGS_clock.o += -marm
|
|
|
|
obj-y := lowlevel_init.o
|
|
|
|
obj-y += board.o
|
|
CFLAGS_REMOVE_board.o := $(LTO_CFLAGS)
|
|
obj-y += boot.o
|
|
obj-y += clock.o
|
|
obj-y += sys_info.o
|
|
obj-y += prcm-regs.o
|
|
obj-y += hw_data.o
|
|
ifdef CONFIG_SPL_BUILD
|
|
obj-$(CONFIG_SPL_OMAP3_ID_NAND) += spl_id_nand.o
|
|
endif
|
|
|
|
obj-$(CONFIG_DRIVER_TI_EMAC) += emac.o
|
|
obj-$(CONFIG_EMIF4) += emif4.o
|
|
obj-$(CONFIG_SDRC) += sdrc.o
|
|
obj-$(CONFIG_USB_MUSB_AM35X) += am35x_musb.o
|