]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/x86/lib/Makefile
09c236be819fe049ded74ed42645f3689f6f7ab8
[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   += mpspec.o
19 obj-y += cmd_mtrr.o
20 obj-$(CONFIG_SYS_PCAT_INTERRUPTS) += pcat_interrupts.o
21 obj-$(CONFIG_SYS_PCAT_TIMER) += pcat_timer.o
22 ifndef CONFIG_DM_PCI
23 obj-$(CONFIG_PCI) += pci_type1.o
24 endif
25 obj-y   += pch-uclass.o
26 obj-y   += pirq_routing.o
27 obj-y   += relocate.o
28 obj-y += physmem.o
29 obj-$(CONFIG_X86_RAMTEST) += ramtest.o
30 obj-y += sfi.o
31 obj-y   += string.o
32 obj-y   += tables.o
33 obj-$(CONFIG_SYS_X86_TSC_TIMER) += tsc_timer.o
34 obj-$(CONFIG_CMD_ZBOOT) += zimage.o
35 obj-$(CONFIG_HAVE_FSP) += fsp/
36
37 extra-$(CONFIG_USE_PRIVATE_LIBGCC) += lib.a
38
39 NORMAL_LIBGCC = $(shell $(CC) $(PLATFORM_CPPFLAGS) -print-libgcc-file-name)
40 OBJCOPYFLAGS := --prefix-symbols=__normal_
41 $(obj)/lib.a: $(NORMAL_LIBGCC) FORCE
42         $(call if_changed,objcopy)