Makefile 1.1 KB
Newer Older
1
ifeq ($(CONFIG_X86_32),y)
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

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
17
pci-$(CONFIG_NUMA)		+= mp_bus_to_node.o
18 19 20 21 22 23 24 25 26 27

# 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

28
else
29 30 31 32 33

#
# Makefile for X86_64 specific PCI routines
#

34 35
obj-y				:= i386.o init.o
obj-$(CONFIG_PCI_MMCONFIG)	+= mmconfig_64.o direct.o mmconfig-shared.o
36
obj-$(CONFIG_PCI_DIRECT)	+= direct.o
37
obj-y				+= fixup.o
38
obj-$(CONFIG_ACPI)		+= acpi.o
39 40
obj-y				+= legacy.o irq.o
obj-y				+= common.o early.o
41
obj-y				+= amd_bus.o
42

43
endif