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 += cmd_mtrr.o 19obj-$(CONFIG_SYS_PCAT_INTERRUPTS) += pcat_interrupts.o 20obj-$(CONFIG_SYS_PCAT_TIMER) += pcat_timer.o 21ifndef CONFIG_DM_PCI 22obj-$(CONFIG_PCI) += pci_type1.o 23endif 24obj-y += pch-uclass.o 25obj-y += pirq_routing.o 26obj-y += relocate.o 27obj-y += physmem.o 28obj-$(CONFIG_X86_RAMTEST) += ramtest.o 29obj-y += sfi.o 30obj-y += string.o 31obj-y += tables.o 32obj-$(CONFIG_SYS_X86_TSC_TIMER) += tsc_timer.o 33obj-$(CONFIG_CMD_ZBOOT) += zimage.o 34obj-$(CONFIG_HAVE_FSP) += fsp/ 35 36extra-$(CONFIG_USE_PRIVATE_LIBGCC) := lib.a 37 38NORMAL_LIBGCC = $(shell $(CC) $(PLATFORM_CPPFLAGS) -print-libgcc-file-name) 39OBJCOPYFLAGS := --prefix-symbols=__normal_ 40$(obj)/lib.a: $(NORMAL_LIBGCC) FORCE 41 $(call if_changed,objcopy) 42