1# 2# (C) Copyright 2002-2006 3# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 4# 5# SPDX-License-Identifier: GPL-2.0+ 6# 7 8obj-y += bios.o 9obj-y += bios_asm.o 10obj-y += bios_interrupts.o 11obj-$(CONFIG_CMD_BOOTM) += bootm.o 12obj-y += cmd_boot.o 13obj-$(CONFIG_HAVE_FSP) += cmd_hob.o 14obj-y += gcc.o 15obj-y += init_helpers.o 16obj-y += interrupts.o 17obj-y += lpc-uclass.o 18obj-y += mpspec.o 19obj-y += cmd_mtrr.o 20obj-$(CONFIG_SYS_PCAT_INTERRUPTS) += pcat_interrupts.o 21obj-$(CONFIG_SYS_PCAT_TIMER) += pcat_timer.o 22ifndef CONFIG_DM_PCI 23obj-$(CONFIG_PCI) += pci_type1.o 24endif 25obj-y += pch-uclass.o 26obj-y += pirq_routing.o 27obj-y += relocate.o 28obj-y += physmem.o 29obj-$(CONFIG_X86_RAMTEST) += ramtest.o 30obj-y += sfi.o 31obj-y += string.o 32obj-y += tables.o 33obj-$(CONFIG_SYS_X86_TSC_TIMER) += tsc_timer.o 34obj-$(CONFIG_CMD_ZBOOT) += zimage.o 35obj-$(CONFIG_HAVE_FSP) += fsp/ 36 37extra-$(CONFIG_USE_PRIVATE_LIBGCC) := lib.a 38 39NORMAL_LIBGCC = $(shell $(CC) $(PLATFORM_CPPFLAGS) -print-libgcc-file-name) 40OBJCOPYFLAGS := --prefix-symbols=__normal_ 41$(obj)/lib.a: $(NORMAL_LIBGCC) FORCE 42 $(call if_changed,objcopy) 43