blob: f3643a7be85be3606502b938ba8b43a6a44c430b [file] [log] [blame]
Thomas Gleixner5fa25bee2007-10-11 11:13:37 +02001ifeq ($(CONFIG_X86_32),y)
Robert Richter6d8566a2008-07-02 22:50:19 +02002
3obj-y := i386.o init.o
4
5obj-$(CONFIG_PCI_BIOS) += pcbios.o
6obj-$(CONFIG_PCI_MMCONFIG) += mmconfig_32.o direct.o mmconfig-shared.o
7obj-$(CONFIG_PCI_DIRECT) += direct.o
8obj-$(CONFIG_PCI_OLPC) += olpc.o
9
10pci-y := fixup.o
11
12# Do not change the ordering here. There is a nasty init function
13# ordering dependency which breaks when you move acpi.o below
14# legacy/irq.o
15pci-$(CONFIG_ACPI) += acpi.o
16pci-y += legacy.o irq.o
17
18# Careful: VISWS overrule the pci-y above. The colons are
19# therefor correct. This needs a proper fix by distangling the code.
20pci-$(CONFIG_X86_VISWS) := visws.o fixup.o
21
22pci-$(CONFIG_X86_NUMAQ) += numa.o
23
Robert Richter6d8566a2008-07-02 22:50:19 +020024obj-y += $(pci-y) common.o early.o
25obj-y += amd_bus.o
26
Thomas Gleixner5fa25bee2007-10-11 11:13:37 +020027else
Robert Richter6d8566a2008-07-02 22:50:19 +020028
29#
30# Makefile for X86_64 specific PCI routines
31#
Robert Richter6d8566a2008-07-02 22:50:19 +020032
Robert Richter8043c7b2008-07-02 22:50:23 +020033obj-y := i386.o init.o
Robert Richter0b40e842008-07-02 22:50:21 +020034obj-$(CONFIG_PCI_MMCONFIG) += mmconfig_64.o direct.o mmconfig-shared.o
Robert Richter8043c7b2008-07-02 22:50:23 +020035obj-$(CONFIG_PCI_DIRECT) += direct.o
Robert Richter8eefc662008-07-02 22:50:24 +020036pci-y := fixup.o
37pci-$(CONFIG_ACPI) += acpi.o
38pci-y += legacy.o irq.o
39obj-y += $(pci-y) common.o early.o
Robert Richter0b40e842008-07-02 22:50:21 +020040obj-y += amd_bus.o
Robert Richter6d8566a2008-07-02 22:50:19 +020041
Thomas Gleixner5fa25bee2007-10-11 11:13:37 +020042endif