x86/pci: Makefile merge: coalescing 32 and 64 bit
authorRobert Richter <robert.richter@amd.com>
Wed, 2 Jul 2008 20:50:27 +0000 (22:50 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 9 Jul 2008 09:44:45 +0000 (11:44 +0200)
Signed-off-by: Robert Richter <robert.richter@amd.com>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/pci/Makefile

index f3643a7be85be3606502b938ba8b43a6a44c430b..1ba1236094a4dabd8580695fdee6fce2f2f2ec99 100644 (file)
@@ -1,9 +1,7 @@
-ifeq ($(CONFIG_X86_32),y)
-
 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_MMCONFIG)     += mmconfig_$(BITS).o direct.o mmconfig-shared.o
 obj-$(CONFIG_PCI_DIRECT)       += direct.o
 obj-$(CONFIG_PCI_OLPC)         += olpc.o
 
@@ -23,20 +21,3 @@ pci-$(CONFIG_X86_NUMAQ)              += numa.o
 
 obj-y                          += $(pci-y) common.o early.o
 obj-y                          += amd_bus.o
-
-else
-
-#
-# Makefile for X86_64 specific PCI routines
-#
-
-obj-y                          := i386.o init.o
-obj-$(CONFIG_PCI_MMCONFIG)     += mmconfig_64.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
-obj-y                          += $(pci-y) common.o early.o
-obj-y                          += amd_bus.o
-
-endif