blob: dcfe9ee85c5412218278d691d9af1d402f5efa1c [file] [log] [blame]
wdenk591dda52002-11-18 00:14:45 +00001#
Marian Balakowiczd62379d2006-09-01 19:49:50 +02002# (C) Copyright 2002-2006
wdenk591dda52002-11-18 00:14:45 +00003# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
wdenk591dda52002-11-18 00:14:45 +00006#
7
Simon Glassb2978d32014-11-14 20:56:32 -07008obj-y += bios.o
9obj-y += bios_asm.o
10obj-y += bios_interrupts.o
Masahiro Yamadaaa96dd12013-10-21 11:53:34 +090011obj-$(CONFIG_CMD_BOOTM) += bootm.o
12obj-y += cmd_boot.o
Bin Meng90699df2014-12-12 21:05:32 +080013obj-$(CONFIG_HAVE_FSP) += cmd_hob.o
Simon Glassd2269f22015-08-04 12:34:01 -060014obj-$(CONFIG_EFI) += efi/
Masahiro Yamadaaa96dd12013-10-21 11:53:34 +090015obj-y += gcc.o
16obj-y += init_helpers.o
17obj-y += interrupts.o
Simon Glassa5caa372015-03-26 09:29:28 -060018obj-y += lpc-uclass.o
Bin Mengf91cf6b2015-06-23 12:18:51 +080019obj-y += mpspec.o
Simon Glassfc0ba2d2015-01-01 16:18:15 -070020obj-y += cmd_mtrr.o
Masahiro Yamadaaa96dd12013-10-21 11:53:34 +090021obj-$(CONFIG_SYS_PCAT_INTERRUPTS) += pcat_interrupts.o
22obj-$(CONFIG_SYS_PCAT_TIMER) += pcat_timer.o
Simon Glass4e037812015-03-05 12:25:31 -070023ifndef CONFIG_DM_PCI
Masahiro Yamadaaa96dd12013-10-21 11:53:34 +090024obj-$(CONFIG_PCI) += pci_type1.o
Simon Glass4e037812015-03-05 12:25:31 -070025endif
Simon Glass404bc5e2015-03-26 09:29:27 -060026obj-y += pch-uclass.o
Bin Meng45236ad2015-04-24 18:10:05 +080027obj-y += pirq_routing.o
Masahiro Yamadaaa96dd12013-10-21 11:53:34 +090028obj-y += relocate.o
29obj-y += physmem.o
Simon Glass268eefd2014-11-12 22:42:28 -070030obj-$(CONFIG_X86_RAMTEST) += ramtest.o
Simon Glass07e922a2015-04-28 20:25:10 -060031obj-y += sfi.o
Masahiro Yamadaaa96dd12013-10-21 11:53:34 +090032obj-y += string.o
Bin Mengf17cea62015-04-24 18:10:04 +080033obj-y += tables.o
Masahiro Yamadaaa96dd12013-10-21 11:53:34 +090034obj-$(CONFIG_SYS_X86_TSC_TIMER) += tsc_timer.o
Masahiro Yamadaaa96dd12013-10-21 11:53:34 +090035obj-$(CONFIG_CMD_ZBOOT) += zimage.o
Simon Glassb93abfc2015-01-27 22:13:36 -070036obj-$(CONFIG_HAVE_FSP) += fsp/
wdenk591dda52002-11-18 00:14:45 +000037
Simon Glass9e72e642015-08-04 12:33:53 -060038extra-$(CONFIG_USE_PRIVATE_LIBGCC) += lib.a
wdenk591dda52002-11-18 00:14:45 +000039
Masahiro Yamada30704462014-10-24 01:30:41 +090040NORMAL_LIBGCC = $(shell $(CC) $(PLATFORM_CPPFLAGS) -print-libgcc-file-name)
Masahiro Yamada46230b62014-03-11 11:05:13 +090041OBJCOPYFLAGS := --prefix-symbols=__normal_
Masahiro Yamada30704462014-10-24 01:30:41 +090042$(obj)/lib.a: $(NORMAL_LIBGCC) FORCE
Masahiro Yamada46230b62014-03-11 11:05:13 +090043 $(call if_changed,objcopy)