diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2007-10-11 11:13:37 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2007-10-11 11:13:37 +0200 |
commit | 5fa25bee6cee459ee3d08f7544cca5a9fb016c8b (patch) | |
tree | 3cf1366cf268b8ffa2ab62b385301caa3bc65815 /arch/i386/pci | |
parent | e32c44c8349dbdf7712a7d868fdbff75599c9005 (diff) | |
download | op-kernel-dev-5fa25bee6cee459ee3d08f7544cca5a9fb016c8b.zip op-kernel-dev-5fa25bee6cee459ee3d08f7544cca5a9fb016c8b.tar.gz |
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/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 cdd6828..d04d8f9 100644 --- a/arch/i386/pci/Makefile +++ b/arch/i386/pci/Makefile @@ -1,14 +1,5 @@ -obj-y := i386.o init.o - -obj-$(CONFIG_PCI_BIOS) += pcbios.o -obj-$(CONFIG_PCI_MMCONFIG) += mmconfig_32.o direct.o mmconfig-shared.o -obj-$(CONFIG_PCI_DIRECT) += direct.o - -pci-y := fixup.o -pci-$(CONFIG_ACPI) += acpi.o -pci-y += legacy.o irq.o - -pci-$(CONFIG_X86_VISWS) := visws.o fixup.o -pci-$(CONFIG_X86_NUMAQ) := numa.o irq.o - -obj-y += $(pci-y) common.o early.o +ifeq ($(CONFIG_X86_32),y) +include ${srctree}/arch/i386/pci/Makefile_32 +else +include ${srctree}/arch/x86_64/pci/Makefile_64 +endif diff --git a/arch/i386/pci/Makefile_32 b/arch/i386/pci/Makefile_32 new file mode 100644 index 0000000..cdd6828 --- /dev/null +++ b/arch/i386/pci/Makefile_32 @@ -0,0 +1,14 @@ +obj-y := i386.o init.o + +obj-$(CONFIG_PCI_BIOS) += pcbios.o +obj-$(CONFIG_PCI_MMCONFIG) += mmconfig_32.o direct.o mmconfig-shared.o +obj-$(CONFIG_PCI_DIRECT) += direct.o + +pci-y := fixup.o +pci-$(CONFIG_ACPI) += acpi.o +pci-y += legacy.o irq.o + +pci-$(CONFIG_X86_VISWS) := visws.o fixup.o +pci-$(CONFIG_X86_NUMAQ) := numa.o irq.o + +obj-y += $(pci-y) common.o early.o |