blob: 73262d7263d23a7ee4abda306e86f8a91e579d8e [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
Simon Glassb2978d32014-11-14 20:56:32 -07008obj-y += bios.o
9obj-y += bios_asm.o
10obj-y += bios_interrupts.o
Masahiro Yamadaaa96dd12013-10-21 11:53:34 +090011obj-$(CONFIG_CMD_BOOTM) += bootm.o
12obj-y += cmd_boot.o
Bin Meng90699df2014-12-12 21:05:32 +080013obj-$(CONFIG_HAVE_FSP) += cmd_hob.o
Masahiro Yamadaaa96dd12013-10-21 11:53:34 +090014obj-y += gcc.o
15obj-y += init_helpers.o
16obj-y += interrupts.o
17obj-$(CONFIG_SYS_PCAT_INTERRUPTS) += pcat_interrupts.o
18obj-$(CONFIG_SYS_PCAT_TIMER) += pcat_timer.o
19obj-$(CONFIG_PCI) += pci_type1.o
20obj-y += relocate.o
21obj-y += physmem.o
Simon Glass268eefd2014-11-12 22:42:28 -070022obj-$(CONFIG_X86_RAMTEST) += ramtest.o
Masahiro Yamadaaa96dd12013-10-21 11:53:34 +090023obj-y += string.o
24obj-$(CONFIG_SYS_X86_TSC_TIMER) += tsc_timer.o
25obj-$(CONFIG_VIDEO_VGA) += video.o
26obj-$(CONFIG_CMD_ZBOOT) += zimage.o
wdenk591dda52002-11-18 00:14:45 +000027
Masahiro Yamada30704462014-10-24 01:30:41 +090028extra-$(CONFIG_USE_PRIVATE_LIBGCC) := lib.a
wdenk591dda52002-11-18 00:14:45 +000029
Masahiro Yamada30704462014-10-24 01:30:41 +090030NORMAL_LIBGCC = $(shell $(CC) $(PLATFORM_CPPFLAGS) -print-libgcc-file-name)
Masahiro Yamada46230b62014-03-11 11:05:13 +090031OBJCOPYFLAGS := --prefix-symbols=__normal_
Masahiro Yamada30704462014-10-24 01:30:41 +090032$(obj)/lib.a: $(NORMAL_LIBGCC) FORCE
Masahiro Yamada46230b62014-03-11 11:05:13 +090033 $(call if_changed,objcopy)