diff options
Diffstat (limited to 'arch/i386/pci')
-rw-r--r-- | arch/i386/pci/Makefile | 19 | ||||
-rw-r--r-- | arch/i386/pci/Makefile_32 | 14 |
2 files changed, 19 insertions, 14 deletions
diff --git a/arch/i386/pci/Makefile b/arch/i386/pci/Makefile index cdd6828b5abb..d04d8f976d1c 100644 --- a/arch/i386/pci/Makefile +++ b/arch/i386/pci/Makefile | |||
@@ -1,14 +1,5 @@ | |||
1 | obj-y := i386.o init.o | 1 | ifeq ($(CONFIG_X86_32),y) |
2 | 2 | include ${srctree}/arch/i386/pci/Makefile_32 | |
3 | obj-$(CONFIG_PCI_BIOS) += pcbios.o | 3 | else |
4 | obj-$(CONFIG_PCI_MMCONFIG) += mmconfig_32.o direct.o mmconfig-shared.o | 4 | include ${srctree}/arch/x86_64/pci/Makefile_64 |
5 | obj-$(CONFIG_PCI_DIRECT) += direct.o | 5 | endif |
6 | |||
7 | pci-y := fixup.o | ||
8 | pci-$(CONFIG_ACPI) += acpi.o | ||
9 | pci-y += legacy.o irq.o | ||
10 | |||
11 | pci-$(CONFIG_X86_VISWS) := visws.o fixup.o | ||
12 | pci-$(CONFIG_X86_NUMAQ) := numa.o irq.o | ||
13 | |||
14 | obj-y += $(pci-y) common.o early.o | ||
diff --git a/arch/i386/pci/Makefile_32 b/arch/i386/pci/Makefile_32 new file mode 100644 index 000000000000..cdd6828b5abb --- /dev/null +++ b/arch/i386/pci/Makefile_32 | |||
@@ -0,0 +1,14 @@ | |||
1 | obj-y := i386.o init.o | ||
2 | |||
3 | obj-$(CONFIG_PCI_BIOS) += pcbios.o | ||
4 | obj-$(CONFIG_PCI_MMCONFIG) += mmconfig_32.o direct.o mmconfig-shared.o | ||
5 | obj-$(CONFIG_PCI_DIRECT) += direct.o | ||
6 | |||
7 | pci-y := fixup.o | ||
8 | pci-$(CONFIG_ACPI) += acpi.o | ||
9 | pci-y += legacy.o irq.o | ||
10 | |||
11 | pci-$(CONFIG_X86_VISWS) := visws.o fixup.o | ||
12 | pci-$(CONFIG_X86_NUMAQ) := numa.o irq.o | ||
13 | |||
14 | obj-y += $(pci-y) common.o early.o | ||