1 ifeq ($(CONFIG_X86_32),y)
5 obj-$(CONFIG_PCI_BIOS) += pcbios.o
6 obj-$(CONFIG_PCI_MMCONFIG) += mmconfig_32.o direct.o mmconfig-shared.o
7 obj-$(CONFIG_PCI_DIRECT) += direct.o
8 obj-$(CONFIG_PCI_OLPC) += olpc.o
12 # Do not change the ordering here. There is a nasty init function
13 # ordering dependency which breaks when you move acpi.o below
15 pci-$(CONFIG_ACPI) += acpi.o
16 pci-y += legacy.o irq.o
18 # Careful: VISWS overrule the pci-y above. The colons are
19 # therefor correct. This needs a proper fix by distangling the code.
20 pci-$(CONFIG_X86_VISWS) := visws.o fixup.o
22 pci-$(CONFIG_X86_NUMAQ) += numa.o
24 # Necessary for NUMAQ as well
25 pci-$(CONFIG_NUMA) += mp_bus_to_node.o
27 obj-y += $(pci-y) common.o early.o
33 # Makefile for X86_64 specific PCI routines
35 # Reuse the i386 PCI subsystem
37 EXTRA_CFLAGS += -Iarch/x86/pci
40 obj-$(CONFIG_PCI_DIRECT)+= direct.o
41 obj-y += fixup.o init.o
42 obj-$(CONFIG_ACPI) += acpi.o
43 obj-y += legacy.o irq.o common.o early.o
44 # mmconfig has a 64bit special
45 obj-$(CONFIG_PCI_MMCONFIG) += mmconfig_64.o direct.o mmconfig-shared.o