x86/pci: Makefile merge: coalescing 32 and 64 bit
[h-e-n] / arch / x86 / pci / Makefile
1 obj-y                           := i386.o init.o
2
3 obj-$(CONFIG_PCI_BIOS)          += pcbios.o
4 obj-$(CONFIG_PCI_MMCONFIG)      += mmconfig_$(BITS).o direct.o mmconfig-shared.o
5 obj-$(CONFIG_PCI_DIRECT)        += direct.o
6 obj-$(CONFIG_PCI_OLPC)          += olpc.o
7
8 pci-y                           := fixup.o
9
10 # Do not change the ordering here. There is a nasty init function
11 # ordering dependency which breaks when you move acpi.o below
12 # legacy/irq.o
13 pci-$(CONFIG_ACPI)              += acpi.o
14 pci-y                           += legacy.o irq.o
15
16 # Careful: VISWS overrule the pci-y above. The colons are
17 # therefor correct. This needs a proper fix by distangling the code.
18 pci-$(CONFIG_X86_VISWS)         := visws.o fixup.o
19
20 pci-$(CONFIG_X86_NUMAQ)         += numa.o
21
22 obj-y                           += $(pci-y) common.o early.o
23 obj-y                           += amd_bus.o