blob: 4ac99560ab05c608078519b81671d5f8ea903601 [file] [log] [blame]
wdenk2262cfe2002-11-18 00:14:45 +00001#
Marian Balakowiczf9328632006-09-01 19:49:50 +02002# (C) Copyright 2002-2006
wdenk2262cfe2002-11-18 00:14:45 +00003# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denk1a459662013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
wdenk2262cfe2002-11-18 00:14:45 +00006#
7
Simon Glass0ca24262014-11-14 20:56:32 -07008obj-y += bios.o
9obj-y += bios_asm.o
10obj-y += bios_interrupts.o
Masahiro Yamada3954b732013-10-21 11:53:34 +090011obj-$(CONFIG_CMD_BOOTM) += bootm.o
12obj-y += cmd_boot.o
Bin Mengba7b38a2014-12-12 21:05:32 +080013obj-$(CONFIG_HAVE_FSP) += cmd_hob.o
Simon Glass8e366502015-08-04 12:34:01 -060014obj-$(CONFIG_EFI) += efi/
Bin Meng59ec7192015-10-07 20:19:10 -070015obj-y += e820.o
Masahiro Yamada3954b732013-10-21 11:53:34 +090016obj-y += gcc.o
17obj-y += init_helpers.o
18obj-y += interrupts.o
Simon Glassa274e9c2015-03-26 09:29:28 -060019obj-y += lpc-uclass.o
Bin Meng7f5df8d2015-06-23 12:18:51 +080020obj-y += mpspec.o
Simon Glasscb3b2e62015-01-01 16:18:15 -070021obj-y += cmd_mtrr.o
Masahiro Yamada3954b732013-10-21 11:53:34 +090022obj-$(CONFIG_SYS_PCAT_INTERRUPTS) += pcat_interrupts.o
23obj-$(CONFIG_SYS_PCAT_TIMER) += pcat_timer.o
Simon Glassa219dae2015-03-05 12:25:31 -070024ifndef CONFIG_DM_PCI
Masahiro Yamada3954b732013-10-21 11:53:34 +090025obj-$(CONFIG_PCI) += pci_type1.o
Simon Glassa219dae2015-03-05 12:25:31 -070026endif
Simon Glass452f5482015-03-26 09:29:27 -060027obj-y += pch-uclass.o
Bin Mengb5b6b012015-04-24 18:10:05 +080028obj-y += pirq_routing.o
Masahiro Yamada3954b732013-10-21 11:53:34 +090029obj-y += relocate.o
30obj-y += physmem.o
Simon Glass65dd74a2014-11-12 22:42:28 -070031obj-$(CONFIG_X86_RAMTEST) += ramtest.o
Simon Glass6388e352015-04-28 20:25:10 -060032obj-y += sfi.o
Bin Meng721e9922015-10-12 05:23:41 -070033obj-$(CONFIG_GENERATE_SMBIOS_TABLE) += smbios.o
Masahiro Yamada3954b732013-10-21 11:53:34 +090034obj-y += string.o
Saket Sinha867bcb62015-08-22 12:20:55 +053035obj-$(CONFIG_GENERATE_ACPI_TABLE) += acpi_table.o
Bin Meng5e2400e2015-04-24 18:10:04 +080036obj-y += tables.o
Masahiro Yamada3954b732013-10-21 11:53:34 +090037obj-$(CONFIG_SYS_X86_TSC_TIMER) += tsc_timer.o
Masahiro Yamada3954b732013-10-21 11:53:34 +090038obj-$(CONFIG_CMD_ZBOOT) += zimage.o
Simon Glass1021af42015-01-27 22:13:36 -070039obj-$(CONFIG_HAVE_FSP) += fsp/
wdenk2262cfe2002-11-18 00:14:45 +000040
Simon Glassb997abd2015-08-04 12:33:53 -060041extra-$(CONFIG_USE_PRIVATE_LIBGCC) += lib.a
wdenk2262cfe2002-11-18 00:14:45 +000042
Masahiro Yamadadd43fa22014-10-24 01:30:41 +090043NORMAL_LIBGCC = $(shell $(CC) $(PLATFORM_CPPFLAGS) -print-libgcc-file-name)
Masahiro Yamadab6e53eb2014-03-11 11:05:13 +090044OBJCOPYFLAGS := --prefix-symbols=__normal_
Masahiro Yamadadd43fa22014-10-24 01:30:41 +090045$(obj)/lib.a: $(NORMAL_LIBGCC) FORCE
Masahiro Yamadab6e53eb2014-03-11 11:05:13 +090046 $(call if_changed,objcopy)