Skip to content

Commit

Permalink
x86/pci: Makefile merge: Removing Makefile_*
Browse files Browse the repository at this point in the history
No functional nor ordering changes here.

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 d028203 commit 6d8566a
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 45 deletions.
48 changes: 46 additions & 2 deletions arch/x86/pci/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,49 @@
ifeq ($(CONFIG_X86_32),y)
include ${srctree}/arch/x86/pci/Makefile_32

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
obj-$(CONFIG_PCI_OLPC) += olpc.o

pci-y := fixup.o

# Do not change the ordering here. There is a nasty init function
# ordering dependency which breaks when you move acpi.o below
# legacy/irq.o
pci-$(CONFIG_ACPI) += acpi.o
pci-y += legacy.o irq.o

# Careful: VISWS overrule the pci-y above. The colons are
# therefor correct. This needs a proper fix by distangling the code.
pci-$(CONFIG_X86_VISWS) := visws.o fixup.o

pci-$(CONFIG_X86_NUMAQ) += numa.o

# Necessary for NUMAQ as well
pci-$(CONFIG_NUMA) += mp_bus_to_node.o

obj-y += $(pci-y) common.o early.o
obj-y += amd_bus.o

else
include ${srctree}/arch/x86/pci/Makefile_64

#
# Makefile for X86_64 specific PCI routines
#
# Reuse the i386 PCI subsystem
#
EXTRA_CFLAGS += -Iarch/x86/pci

obj-y := i386.o
obj-$(CONFIG_PCI_DIRECT)+= direct.o
obj-y += fixup.o init.o
obj-$(CONFIG_ACPI) += acpi.o
obj-y += legacy.o irq.o common.o early.o
# mmconfig has a 64bit special
obj-$(CONFIG_PCI_MMCONFIG) += mmconfig_64.o direct.o mmconfig-shared.o

obj-y += amd_bus.o

endif
26 changes: 0 additions & 26 deletions arch/x86/pci/Makefile_32

This file was deleted.

17 changes: 0 additions & 17 deletions arch/x86/pci/Makefile_64

This file was deleted.

0 comments on commit 6d8566a

Please sign in to comment.