blob: 25b672a0c13d831f0ddf1df0f4c17717dab8c863 [file] [log] [blame]
wdenk591dda52002-11-18 00:14:45 +00001#
Marian Balakowiczd62379d2006-09-01 19:49:50 +02002# (C) Copyright 2002-2006
wdenk591dda52002-11-18 00:14:45 +00003# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
wdenk591dda52002-11-18 00:14:45 +00006#
7
Masahiro Yamadaaa96dd12013-10-21 11:53:34 +09008obj-$(CONFIG_CMD_BOOTM) += bootm.o
9obj-y += cmd_boot.o
10obj-y += gcc.o
11obj-y += init_helpers.o
12obj-y += interrupts.o
13obj-$(CONFIG_SYS_PCAT_INTERRUPTS) += pcat_interrupts.o
14obj-$(CONFIG_SYS_PCAT_TIMER) += pcat_timer.o
15obj-$(CONFIG_PCI) += pci_type1.o
16obj-y += relocate.o
17obj-y += physmem.o
18obj-y += string.o
19obj-$(CONFIG_SYS_X86_TSC_TIMER) += tsc_timer.o
20obj-$(CONFIG_VIDEO_VGA) += video.o
21obj-$(CONFIG_CMD_ZBOOT) += zimage.o
wdenk591dda52002-11-18 00:14:45 +000022
Masahiro Yamada30704462014-10-24 01:30:41 +090023extra-$(CONFIG_USE_PRIVATE_LIBGCC) := lib.a
wdenk591dda52002-11-18 00:14:45 +000024
Masahiro Yamada30704462014-10-24 01:30:41 +090025NORMAL_LIBGCC = $(shell $(CC) $(PLATFORM_CPPFLAGS) -print-libgcc-file-name)
Masahiro Yamada46230b62014-03-11 11:05:13 +090026OBJCOPYFLAGS := --prefix-symbols=__normal_
Masahiro Yamada30704462014-10-24 01:30:41 +090027$(obj)/lib.a: $(NORMAL_LIBGCC) FORCE
Masahiro Yamada46230b62014-03-11 11:05:13 +090028 $(call if_changed,objcopy)