wdenk | 2262cfe | 2002-11-18 00:14:45 +0000 | [diff] [blame] | 1 | # |
Marian Balakowicz | f932863 | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 2 | # (C) Copyright 2002-2006 |
wdenk | 2262cfe | 2002-11-18 00:14:45 +0000 | [diff] [blame] | 3 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
4 | # | ||||
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | # SPDX-License-Identifier: GPL-2.0+ |
wdenk | 2262cfe | 2002-11-18 00:14:45 +0000 | [diff] [blame] | 6 | # |
7 | |||||
Simon Glass | 0ca2426 | 2014-11-14 20:56:32 -0700 | [diff] [blame] | 8 | obj-y += bios.o |
9 | obj-y += bios_asm.o | ||||
10 | obj-y += bios_interrupts.o | ||||
Masahiro Yamada | 3954b73 | 2013-10-21 11:53:34 +0900 | [diff] [blame] | 11 | obj-$(CONFIG_CMD_BOOTM) += bootm.o |
12 | obj-y += cmd_boot.o | ||||
Bin Meng | ba7b38a | 2014-12-12 21:05:32 +0800 | [diff] [blame] | 13 | obj-$(CONFIG_HAVE_FSP) += cmd_hob.o |
Simon Glass | 8e36650 | 2015-08-04 12:34:01 -0600 | [diff] [blame] | 14 | obj-$(CONFIG_EFI) += efi/ |
Bin Meng | 59ec719 | 2015-10-07 20:19:10 -0700 | [diff] [blame] | 15 | obj-y += e820.o |
Masahiro Yamada | 3954b73 | 2013-10-21 11:53:34 +0900 | [diff] [blame] | 16 | obj-y += gcc.o |
17 | obj-y += init_helpers.o | ||||
18 | obj-y += interrupts.o | ||||
Simon Glass | a274e9c | 2015-03-26 09:29:28 -0600 | [diff] [blame] | 19 | obj-y += lpc-uclass.o |
Bin Meng | 7f5df8d | 2015-06-23 12:18:51 +0800 | [diff] [blame] | 20 | obj-y += mpspec.o |
Simon Glass | cb3b2e6 | 2015-01-01 16:18:15 -0700 | [diff] [blame] | 21 | obj-y += cmd_mtrr.o |
Masahiro Yamada | 3954b73 | 2013-10-21 11:53:34 +0900 | [diff] [blame] | 22 | obj-$(CONFIG_SYS_PCAT_INTERRUPTS) += pcat_interrupts.o |
23 | obj-$(CONFIG_SYS_PCAT_TIMER) += pcat_timer.o | ||||
Simon Glass | a219dae | 2015-03-05 12:25:31 -0700 | [diff] [blame] | 24 | ifndef CONFIG_DM_PCI |
Masahiro Yamada | 3954b73 | 2013-10-21 11:53:34 +0900 | [diff] [blame] | 25 | obj-$(CONFIG_PCI) += pci_type1.o |
Simon Glass | a219dae | 2015-03-05 12:25:31 -0700 | [diff] [blame] | 26 | endif |
Simon Glass | 452f548 | 2015-03-26 09:29:27 -0600 | [diff] [blame] | 27 | obj-y += pch-uclass.o |
Bin Meng | b5b6b01 | 2015-04-24 18:10:05 +0800 | [diff] [blame] | 28 | obj-y += pirq_routing.o |
Masahiro Yamada | 3954b73 | 2013-10-21 11:53:34 +0900 | [diff] [blame] | 29 | obj-y += relocate.o |
30 | obj-y += physmem.o | ||||
Simon Glass | 65dd74a | 2014-11-12 22:42:28 -0700 | [diff] [blame] | 31 | obj-$(CONFIG_X86_RAMTEST) += ramtest.o |
Simon Glass | 6388e35 | 2015-04-28 20:25:10 -0600 | [diff] [blame] | 32 | obj-y += sfi.o |
Bin Meng | 721e992 | 2015-10-12 05:23:41 -0700 | [diff] [blame^] | 33 | obj-$(CONFIG_GENERATE_SMBIOS_TABLE) += smbios.o |
Masahiro Yamada | 3954b73 | 2013-10-21 11:53:34 +0900 | [diff] [blame] | 34 | obj-y += string.o |
Saket Sinha | 867bcb6 | 2015-08-22 12:20:55 +0530 | [diff] [blame] | 35 | obj-$(CONFIG_GENERATE_ACPI_TABLE) += acpi_table.o |
Bin Meng | 5e2400e | 2015-04-24 18:10:04 +0800 | [diff] [blame] | 36 | obj-y += tables.o |
Masahiro Yamada | 3954b73 | 2013-10-21 11:53:34 +0900 | [diff] [blame] | 37 | obj-$(CONFIG_SYS_X86_TSC_TIMER) += tsc_timer.o |
Masahiro Yamada | 3954b73 | 2013-10-21 11:53:34 +0900 | [diff] [blame] | 38 | obj-$(CONFIG_CMD_ZBOOT) += zimage.o |
Simon Glass | 1021af4 | 2015-01-27 22:13:36 -0700 | [diff] [blame] | 39 | obj-$(CONFIG_HAVE_FSP) += fsp/ |
wdenk | 2262cfe | 2002-11-18 00:14:45 +0000 | [diff] [blame] | 40 | |
Simon Glass | b997abd | 2015-08-04 12:33:53 -0600 | [diff] [blame] | 41 | extra-$(CONFIG_USE_PRIVATE_LIBGCC) += lib.a |
wdenk | 2262cfe | 2002-11-18 00:14:45 +0000 | [diff] [blame] | 42 | |
Masahiro Yamada | dd43fa2 | 2014-10-24 01:30:41 +0900 | [diff] [blame] | 43 | NORMAL_LIBGCC = $(shell $(CC) $(PLATFORM_CPPFLAGS) -print-libgcc-file-name) |
Masahiro Yamada | b6e53eb | 2014-03-11 11:05:13 +0900 | [diff] [blame] | 44 | OBJCOPYFLAGS := --prefix-symbols=__normal_ |
Masahiro Yamada | dd43fa2 | 2014-10-24 01:30:41 +0900 | [diff] [blame] | 45 | $(obj)/lib.a: $(NORMAL_LIBGCC) FORCE |
Masahiro Yamada | b6e53eb | 2014-03-11 11:05:13 +0900 | [diff] [blame] | 46 | $(call if_changed,objcopy) |