blob: 55de788500b5e22a4934141d6b6e658edfb25478 [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
13obj-y += gcc.o
14obj-y += init_helpers.o
15obj-y += interrupts.o
16obj-$(CONFIG_SYS_PCAT_INTERRUPTS) += pcat_interrupts.o
17obj-$(CONFIG_SYS_PCAT_TIMER) += pcat_timer.o
18obj-$(CONFIG_PCI) += pci_type1.o
19obj-y += relocate.o
20obj-y += physmem.o
Simon Glass65dd74a2014-11-12 22:42:28 -070021obj-$(CONFIG_X86_RAMTEST) += ramtest.o
Masahiro Yamada3954b732013-10-21 11:53:34 +090022obj-y += string.o
23obj-$(CONFIG_SYS_X86_TSC_TIMER) += tsc_timer.o
24obj-$(CONFIG_VIDEO_VGA) += video.o
25obj-$(CONFIG_CMD_ZBOOT) += zimage.o
wdenk2262cfe2002-11-18 00:14:45 +000026
Masahiro Yamadadd43fa22014-10-24 01:30:41 +090027extra-$(CONFIG_USE_PRIVATE_LIBGCC) := lib.a
wdenk2262cfe2002-11-18 00:14:45 +000028
Masahiro Yamadadd43fa22014-10-24 01:30:41 +090029NORMAL_LIBGCC = $(shell $(CC) $(PLATFORM_CPPFLAGS) -print-libgcc-file-name)
Masahiro Yamadab6e53eb2014-03-11 11:05:13 +090030OBJCOPYFLAGS := --prefix-symbols=__normal_
Masahiro Yamadadd43fa22014-10-24 01:30:41 +090031$(obj)/lib.a: $(NORMAL_LIBGCC) FORCE
Masahiro Yamadab6e53eb2014-03-11 11:05:13 +090032 $(call if_changed,objcopy)