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-y += northbridge-uclass.o 23obj-$(CONFIG_I8259_PIC) += i8259.o 24obj-$(CONFIG_I8254_TIMER) += i8254.o 25ifndef CONFIG_DM_PCI 26obj-$(CONFIG_PCI) += pci_type1.o 27endif 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 35ifndef CONFIG_QEMU_ACPI_TABLE 36obj-$(CONFIG_GENERATE_ACPI_TABLE) += acpi_table.o 37endif 38obj-y += tables.o 39obj-$(CONFIG_CMD_ZBOOT) += zimage.o 40obj-$(CONFIG_HAVE_FSP) += fsp/ 41 42extra-$(CONFIG_USE_PRIVATE_LIBGCC) += lib.a 43 44NORMAL_LIBGCC = $(shell $(CC) $(PLATFORM_CPPFLAGS) -print-libgcc-file-name) 45OBJCOPYFLAGS := --prefix-symbols=__normal_ 46$(obj)/lib.a: $(NORMAL_LIBGCC) FORCE 47 $(call if_changed,objcopy) 48