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_EFI) += efi/ 14obj-y += e820.o 15obj-y += gcc.o 16obj-y += init_helpers.o 17obj-y += interrupts.o 18obj-y += lpc-uclass.o 19obj-y += mpspec.o 20obj-$(CONFIG_ENABLE_MRC_CACHE) += mrccache.o 21obj-y += cmd_mtrr.o 22obj-$(CONFIG_I8259_PIC) += i8259.o 23obj-$(CONFIG_I8254_TIMER) += i8254.o 24ifndef CONFIG_DM_PCI 25obj-$(CONFIG_PCI) += pci_type1.o 26endif 27obj-y += pch-uclass.o 28obj-y += pirq_routing.o 29obj-y += relocate.o 30obj-y += physmem.o 31obj-$(CONFIG_X86_RAMTEST) += ramtest.o 32obj-y += sfi.o 33obj-$(CONFIG_GENERATE_SMBIOS_TABLE) += smbios.o 34obj-y += string.o 35obj-$(CONFIG_GENERATE_ACPI_TABLE) += acpi_table.o 36obj-y += tables.o 37obj-$(CONFIG_CMD_ZBOOT) += zimage.o 38obj-$(CONFIG_HAVE_FSP) += fsp/ 39 40extra-$(CONFIG_USE_PRIVATE_LIBGCC) += lib.a 41 42NORMAL_LIBGCC = $(shell $(CC) $(PLATFORM_CPPFLAGS) -print-libgcc-file-name) 43OBJCOPYFLAGS := --prefix-symbols=__normal_ 44$(obj)/lib.a: $(NORMAL_LIBGCC) FORCE 45 $(call if_changed,objcopy) 46