Thomas Gleixner | 5fa25bee | 2007-10-11 11:13:37 +0200 | [diff] [blame] | 1 | ifeq ($(CONFIG_X86_32),y) |
Robert Richter | 6d8566a | 2008-07-02 22:50:19 +0200 | [diff] [blame] | 2 | |
| 3 | obj-y := i386.o init.o |
| 4 | |
| 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 |
| 9 | |
| 10 | pci-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 |
| 15 | pci-$(CONFIG_ACPI) += acpi.o |
| 16 | pci-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. |
| 20 | pci-$(CONFIG_X86_VISWS) := visws.o fixup.o |
| 21 | |
| 22 | pci-$(CONFIG_X86_NUMAQ) += numa.o |
| 23 | |
| 24 | # Necessary for NUMAQ as well |
| 25 | pci-$(CONFIG_NUMA) += mp_bus_to_node.o |
| 26 | |
| 27 | obj-y += $(pci-y) common.o early.o |
| 28 | obj-y += amd_bus.o |
| 29 | |
Thomas Gleixner | 5fa25bee | 2007-10-11 11:13:37 +0200 | [diff] [blame] | 30 | else |
Robert Richter | 6d8566a | 2008-07-02 22:50:19 +0200 | [diff] [blame] | 31 | |
| 32 | # |
| 33 | # Makefile for X86_64 specific PCI routines |
| 34 | # |
Robert Richter | 6d8566a | 2008-07-02 22:50:19 +0200 | [diff] [blame] | 35 | |
| 36 | obj-y := i386.o |
| 37 | obj-$(CONFIG_PCI_DIRECT)+= direct.o |
| 38 | obj-y += fixup.o init.o |
| 39 | obj-$(CONFIG_ACPI) += acpi.o |
| 40 | obj-y += legacy.o irq.o common.o early.o |
| 41 | # mmconfig has a 64bit special |
| 42 | obj-$(CONFIG_PCI_MMCONFIG) += mmconfig_64.o direct.o mmconfig-shared.o |
| 43 | |
| 44 | obj-y += amd_bus.o |
| 45 | |
Thomas Gleixner | 5fa25bee | 2007-10-11 11:13:37 +0200 | [diff] [blame] | 46 | endif |