xref: /openbmc/u-boot/arch/x86/lib/Makefile (revision 7f5df8d42d8eb0fbdb6bf168fd530aa0f01b99c7)
1fea25720SGraeme Russ#
2fea25720SGraeme Russ# (C) Copyright 2002-2006
3fea25720SGraeme Russ# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4fea25720SGraeme Russ#
51a459660SWolfgang Denk# SPDX-License-Identifier:	GPL-2.0+
6fea25720SGraeme Russ#
7fea25720SGraeme Russ
80ca2426bSSimon Glassobj-y += bios.o
90ca2426bSSimon Glassobj-y += bios_asm.o
100ca2426bSSimon Glassobj-y += bios_interrupts.o
113954b739SMasahiro Yamadaobj-$(CONFIG_CMD_BOOTM) += bootm.o
123954b739SMasahiro Yamadaobj-y	+= cmd_boot.o
13ba7b38a5SBin Mengobj-$(CONFIG_HAVE_FSP) += cmd_hob.o
143954b739SMasahiro Yamadaobj-y	+= gcc.o
153954b739SMasahiro Yamadaobj-y	+= init_helpers.o
163954b739SMasahiro Yamadaobj-y	+= interrupts.o
17a274e9caSSimon Glassobj-y	+= lpc-uclass.o
18*7f5df8d4SBin Mengobj-y	+= mpspec.o
19cb3b2e62SSimon Glassobj-y += cmd_mtrr.o
203954b739SMasahiro Yamadaobj-$(CONFIG_SYS_PCAT_INTERRUPTS) += pcat_interrupts.o
213954b739SMasahiro Yamadaobj-$(CONFIG_SYS_PCAT_TIMER) += pcat_timer.o
22a219daeaSSimon Glassifndef CONFIG_DM_PCI
233954b739SMasahiro Yamadaobj-$(CONFIG_PCI) += pci_type1.o
24a219daeaSSimon Glassendif
25452f5487SSimon Glassobj-y	+= pch-uclass.o
26b5b6b019SBin Mengobj-y	+= pirq_routing.o
273954b739SMasahiro Yamadaobj-y	+= relocate.o
283954b739SMasahiro Yamadaobj-y += physmem.o
2965dd74a6SSimon Glassobj-$(CONFIG_X86_RAMTEST) += ramtest.o
306388e357SSimon Glassobj-y += sfi.o
313954b739SMasahiro Yamadaobj-y	+= string.o
325e2400e8SBin Mengobj-y	+= tables.o
333954b739SMasahiro Yamadaobj-$(CONFIG_SYS_X86_TSC_TIMER)	+= tsc_timer.o
343954b739SMasahiro Yamadaobj-$(CONFIG_CMD_ZBOOT)	+= zimage.o
351021af4dSSimon Glassobj-$(CONFIG_HAVE_FSP) += fsp/
36fea25720SGraeme Russ
37dd43fa22SMasahiro Yamadaextra-$(CONFIG_USE_PRIVATE_LIBGCC) := lib.a
38fea25720SGraeme Russ
39dd43fa22SMasahiro YamadaNORMAL_LIBGCC = $(shell $(CC) $(PLATFORM_CPPFLAGS) -print-libgcc-file-name)
40b6e53eb3SMasahiro YamadaOBJCOPYFLAGS := --prefix-symbols=__normal_
41dd43fa22SMasahiro Yamada$(obj)/lib.a: $(NORMAL_LIBGCC) FORCE
42b6e53eb3SMasahiro Yamada	$(call if_changed,objcopy)
43