]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/x86/lib/Makefile
Merge branch 'buildman' of git://git.denx.de/u-boot-x86
[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 += cmd_mtrr.o
18 obj-$(CONFIG_SYS_PCAT_INTERRUPTS) += pcat_interrupts.o
19 obj-$(CONFIG_SYS_PCAT_TIMER) += pcat_timer.o
20 obj-$(CONFIG_PCI) += pci_type1.o
21 obj-y   += relocate.o
22 obj-y += physmem.o
23 obj-$(CONFIG_X86_RAMTEST) += ramtest.o
24 obj-y   += string.o
25 obj-$(CONFIG_SYS_X86_TSC_TIMER) += tsc_timer.o
26 obj-$(CONFIG_VIDEO_VGA) += video.o
27 obj-$(CONFIG_CMD_ZBOOT) += zimage.o
28
29 extra-$(CONFIG_USE_PRIVATE_LIBGCC) := lib.a
30
31 NORMAL_LIBGCC = $(shell $(CC) $(PLATFORM_CPPFLAGS) -print-libgcc-file-name)
32 OBJCOPYFLAGS := --prefix-symbols=__normal_
33 $(obj)/lib.a: $(NORMAL_LIBGCC) FORCE
34         $(call if_changed,objcopy)