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 | |
Robert Richter | 6d8566a | 2008-07-02 22:50:19 +0200 | [diff] [blame] | 24 | obj-y += $(pci-y) common.o early.o |
| 25 | obj-y += amd_bus.o |
| 26 | |
Thomas Gleixner | 5fa25bee | 2007-10-11 11:13:37 +0200 | [diff] [blame] | 27 | else |
Robert Richter | 6d8566a | 2008-07-02 22:50:19 +0200 | [diff] [blame] | 28 | |
| 29 | # |
| 30 | # Makefile for X86_64 specific PCI routines |
| 31 | # |
Robert Richter | 6d8566a | 2008-07-02 22:50:19 +0200 | [diff] [blame] | 32 | |
Robert Richter | 8043c7b | 2008-07-02 22:50:23 +0200 | [diff] [blame] | 33 | obj-y := i386.o init.o |
Robert Richter | 0b40e84 | 2008-07-02 22:50:21 +0200 | [diff] [blame] | 34 | obj-$(CONFIG_PCI_MMCONFIG) += mmconfig_64.o direct.o mmconfig-shared.o |
Robert Richter | 8043c7b | 2008-07-02 22:50:23 +0200 | [diff] [blame] | 35 | obj-$(CONFIG_PCI_DIRECT) += direct.o |
Robert Richter | 8eefc66 | 2008-07-02 22:50:24 +0200 | [diff] [blame] | 36 | pci-y := fixup.o |
| 37 | pci-$(CONFIG_ACPI) += acpi.o |
| 38 | pci-y += legacy.o irq.o |
| 39 | obj-y += $(pci-y) common.o early.o |
Robert Richter | 0b40e84 | 2008-07-02 22:50:21 +0200 | [diff] [blame] | 40 | obj-y += amd_bus.o |
Robert Richter | 6d8566a | 2008-07-02 22:50:19 +0200 | [diff] [blame] | 41 | |
Thomas Gleixner | 5fa25bee | 2007-10-11 11:13:37 +0200 | [diff] [blame] | 42 | endif |