mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-21 19:53:59 +08:00
d199a04827
Signed-off-by: Robert Richter <robert.richter@amd.com> Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
43 lines
1.0 KiB
Makefile
43 lines
1.0 KiB
Makefile
ifeq ($(CONFIG_X86_32),y)
|
|
|
|
obj-y := i386.o init.o
|
|
|
|
obj-$(CONFIG_PCI_BIOS) += pcbios.o
|
|
obj-$(CONFIG_PCI_MMCONFIG) += mmconfig_32.o direct.o mmconfig-shared.o
|
|
obj-$(CONFIG_PCI_DIRECT) += direct.o
|
|
obj-$(CONFIG_PCI_OLPC) += olpc.o
|
|
|
|
pci-y := fixup.o
|
|
|
|
# Do not change the ordering here. There is a nasty init function
|
|
# ordering dependency which breaks when you move acpi.o below
|
|
# legacy/irq.o
|
|
pci-$(CONFIG_ACPI) += acpi.o
|
|
pci-y += legacy.o irq.o
|
|
|
|
# Careful: VISWS overrule the pci-y above. The colons are
|
|
# therefor correct. This needs a proper fix by distangling the code.
|
|
pci-$(CONFIG_X86_VISWS) := visws.o fixup.o
|
|
|
|
pci-$(CONFIG_X86_NUMAQ) += numa.o
|
|
|
|
obj-y += $(pci-y) common.o early.o
|
|
obj-y += amd_bus.o
|
|
|
|
else
|
|
|
|
#
|
|
# Makefile for X86_64 specific PCI routines
|
|
#
|
|
|
|
obj-y := i386.o init.o
|
|
obj-$(CONFIG_PCI_MMCONFIG) += mmconfig_64.o direct.o mmconfig-shared.o
|
|
obj-$(CONFIG_PCI_DIRECT) += direct.o
|
|
pci-y := fixup.o
|
|
pci-$(CONFIG_ACPI) += acpi.o
|
|
pci-y += legacy.o irq.o
|
|
obj-y += $(pci-y) common.o early.o
|
|
obj-y += amd_bus.o
|
|
|
|
endif
|