diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2007-10-11 05:13:37 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2007-10-11 05:13:37 -0400 |
commit | 5fa25bee6cee459ee3d08f7544cca5a9fb016c8b (patch) | |
tree | 3cf1366cf268b8ffa2ab62b385301caa3bc65815 /arch | |
parent | e32c44c8349dbdf7712a7d868fdbff75599c9005 (diff) |
i386: prepare shared pci/Makefile
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-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 | ||