2002-11-18 09:14:45 +09:00
|
|
|
#
|
2006-09-02 02:49:50 +09:00
|
|
|
# (C) Copyright 2002-2006
|
2002-11-18 09:14:45 +09:00
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
#
|
2013-07-08 16:37:19 +09:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2002-11-18 09:14:45 +09:00
|
|
|
#
|
|
|
|
|
2014-11-15 12:56:32 +09:00
|
|
|
obj-y += bios.o
|
|
|
|
obj-y += bios_asm.o
|
|
|
|
obj-y += bios_interrupts.o
|
2013-10-21 11:53:34 +09:00
|
|
|
obj-$(CONFIG_CMD_BOOTM) += bootm.o
|
|
|
|
obj-y += cmd_boot.o
|
2014-12-12 22:05:32 +09:00
|
|
|
obj-$(CONFIG_HAVE_FSP) += cmd_hob.o
|
2013-10-21 11:53:34 +09:00
|
|
|
obj-y += gcc.o
|
|
|
|
obj-y += init_helpers.o
|
|
|
|
obj-y += interrupts.o
|
2015-01-02 08:18:15 +09:00
|
|
|
obj-y += cmd_mtrr.o
|
2013-10-21 11:53:34 +09:00
|
|
|
obj-$(CONFIG_SYS_PCAT_INTERRUPTS) += pcat_interrupts.o
|
|
|
|
obj-$(CONFIG_SYS_PCAT_TIMER) += pcat_timer.o
|
2015-03-06 04:25:31 +09:00
|
|
|
ifndef CONFIG_DM_PCI
|
2013-10-21 11:53:34 +09:00
|
|
|
obj-$(CONFIG_PCI) += pci_type1.o
|
2015-03-06 04:25:31 +09:00
|
|
|
endif
|
2015-03-27 00:29:27 +09:00
|
|
|
obj-y += pch-uclass.o
|
2013-10-21 11:53:34 +09:00
|
|
|
obj-y += relocate.o
|
|
|
|
obj-y += physmem.o
|
2014-11-13 14:42:28 +09:00
|
|
|
obj-$(CONFIG_X86_RAMTEST) += ramtest.o
|
2013-10-21 11:53:34 +09:00
|
|
|
obj-y += string.o
|
|
|
|
obj-$(CONFIG_SYS_X86_TSC_TIMER) += tsc_timer.o
|
|
|
|
obj-$(CONFIG_VIDEO_VGA) += video.o
|
|
|
|
obj-$(CONFIG_CMD_ZBOOT) += zimage.o
|
2015-01-28 14:13:36 +09:00
|
|
|
obj-$(CONFIG_HAVE_FSP) += fsp/
|
2013-10-21 11:53:34 +09:00
|
|
|
|
2014-10-24 01:30:41 +09:00
|
|
|
extra-$(CONFIG_USE_PRIVATE_LIBGCC) := lib.a
|
2013-10-21 11:53:34 +09:00
|
|
|
|
2014-10-24 01:30:41 +09:00
|
|
|
NORMAL_LIBGCC = $(shell $(CC) $(PLATFORM_CPPFLAGS) -print-libgcc-file-name)
|
2014-03-11 11:05:13 +09:00
|
|
|
OBJCOPYFLAGS := --prefix-symbols=__normal_
|
2014-10-24 01:30:41 +09:00
|
|
|
$(obj)/lib.a: $(NORMAL_LIBGCC) FORCE
|
2014-03-11 11:05:13 +09:00
|
|
|
$(call if_changed,objcopy)
|