2 # (C) Copyright 2002-2006
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5 # SPDX-License-Identifier: GPL-2.0+
10 obj-y += bios_interrupts.o
11 obj-$(CONFIG_CMD_BOOTM) += bootm.o
13 obj-$(CONFIG_HAVE_FSP) += cmd_hob.o
15 obj-y += init_helpers.o
19 obj-$(CONFIG_SYS_PCAT_INTERRUPTS) += pcat_interrupts.o
20 obj-$(CONFIG_SYS_PCAT_TIMER) += pcat_timer.o
22 obj-$(CONFIG_PCI) += pci_type1.o
27 obj-$(CONFIG_X86_RAMTEST) += ramtest.o
29 obj-$(CONFIG_SYS_X86_TSC_TIMER) += tsc_timer.o
30 obj-$(CONFIG_CMD_ZBOOT) += zimage.o
31 obj-$(CONFIG_HAVE_FSP) += fsp/
33 extra-$(CONFIG_USE_PRIVATE_LIBGCC) := lib.a
35 NORMAL_LIBGCC = $(shell $(CC) $(PLATFORM_CPPFLAGS) -print-libgcc-file-name)
36 OBJCOPYFLAGS := --prefix-symbols=__normal_
37 $(obj)/lib.a: $(NORMAL_LIBGCC) FORCE
38 $(call if_changed,objcopy)