2 # (C) Copyright 2002-2006
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5 # SPDX-License-Identifier: GPL-2.0+
8 obj-$(CONFIG_CMD_BOOTM) += bootm.o
11 obj-y += init_helpers.o
13 obj-$(CONFIG_SYS_PCAT_INTERRUPTS) += pcat_interrupts.o
14 obj-$(CONFIG_SYS_PCAT_TIMER) += pcat_timer.o
15 obj-$(CONFIG_PCI) += pci_type1.o
18 obj-$(CONFIG_X86_RAMTEST) += ramtest.o
20 obj-$(CONFIG_SYS_X86_TSC_TIMER) += tsc_timer.o
21 obj-$(CONFIG_VIDEO_VGA) += video.o
22 obj-$(CONFIG_CMD_ZBOOT) += zimage.o
24 extra-$(CONFIG_USE_PRIVATE_LIBGCC) := lib.a
26 NORMAL_LIBGCC = $(shell $(CC) $(PLATFORM_CPPFLAGS) -print-libgcc-file-name)
27 OBJCOPYFLAGS := --prefix-symbols=__normal_
28 $(obj)/lib.a: $(NORMAL_LIBGCC) FORCE
29 $(call if_changed,objcopy)