Skip to content

Commit

Permalink
x86/pci: Makefile merge: coalescing 32 and 64 bit
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Richter <robert.richter@amd.com>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Robert Richter authored and Ingo Molnar committed Jul 9, 2008
1 parent d199a04 commit f4d994b
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions arch/x86/pci/Makefile
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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

0 comments on commit f4d994b

Please sign in to comment.