]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/x86/lib/Makefile
70ad19b26324496a777b6c7fba5cd24797b58266
[karo-tx-uboot.git] / arch / x86 / lib / Makefile
1 #
2 # (C) Copyright 2002-2006
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 #
5 # SPDX-License-Identifier:      GPL-2.0+
6 #
7
8 obj-y += bios.o
9 obj-y += bios_asm.o
10 obj-y += bios_interrupts.o
11 obj-$(CONFIG_CMD_BOOTM) += bootm.o
12 obj-y   += cmd_boot.o
13 obj-$(CONFIG_HAVE_FSP) += cmd_hob.o
14 obj-y   += gcc.o
15 obj-y   += init_helpers.o
16 obj-y   += interrupts.o
17 obj-y   += lpc-uclass.o
18 obj-y += cmd_mtrr.o
19 obj-$(CONFIG_SYS_PCAT_INTERRUPTS) += pcat_interrupts.o
20 obj-$(CONFIG_SYS_PCAT_TIMER) += pcat_timer.o
21 ifndef CONFIG_DM_PCI
22 obj-$(CONFIG_PCI) += pci_type1.o
23 endif
24 obj-y   += pch-uclass.o
25 obj-y   += pirq_routing.o
26 obj-y   += relocate.o
27 obj-y += physmem.o
28 obj-$(CONFIG_X86_RAMTEST) += ramtest.o
29 obj-y += sfi.o
30 obj-y   += string.o
31 obj-y   += tables.o
32 obj-$(CONFIG_SYS_X86_TSC_TIMER) += tsc_timer.o
33 obj-$(CONFIG_CMD_ZBOOT) += zimage.o
34 obj-$(CONFIG_HAVE_FSP) += fsp/
35
36 extra-$(CONFIG_USE_PRIVATE_LIBGCC) := lib.a
37
38 NORMAL_LIBGCC = $(shell $(CC) $(PLATFORM_CPPFLAGS) -print-libgcc-file-name)
39 OBJCOPYFLAGS := --prefix-symbols=__normal_
40 $(obj)/lib.a: $(NORMAL_LIBGCC) FORCE
41         $(call if_changed,objcopy)