x86_64: prepare shared pci/Makefile
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
e0915fb261
commit
7b06e6c58c
2 changed files with 32 additions and 27 deletions
|
@ -1,27 +1,5 @@
|
||||||
#
|
ifeq ($(CONFIG_X86_32),y)
|
||||||
# Makefile for X86_64 specific PCI routines
|
include ${srctree}/arch/i386/pci/Makefile_32
|
||||||
#
|
else
|
||||||
# Reuse the i386 PCI subsystem
|
include ${srctree}/arch/x86_64/pci/Makefile_64
|
||||||
#
|
endif
|
||||||
EXTRA_CFLAGS += -Iarch/i386/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-$(CONFIG_NUMA) += k8-bus_64.o
|
|
||||||
|
|
||||||
direct-y += ../../i386/pci/direct.o
|
|
||||||
acpi-y += ../../i386/pci/acpi.o
|
|
||||||
legacy-y += ../../i386/pci/legacy.o
|
|
||||||
irq-y += ../../i386/pci/irq.o
|
|
||||||
common-y += ../../i386/pci/common.o
|
|
||||||
fixup-y += ../../i386/pci/fixup.o
|
|
||||||
i386-y += ../../i386/pci/i386.o
|
|
||||||
init-y += ../../i386/pci/init.o
|
|
||||||
early-y += ../../i386/pci/early.o
|
|
||||||
mmconfig-shared-y += ../../i386/pci/mmconfig-shared.o
|
|
||||||
|
|
27
arch/x86_64/pci/Makefile_64
Normal file
27
arch/x86_64/pci/Makefile_64
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
#
|
||||||
|
# Makefile for X86_64 specific PCI routines
|
||||||
|
#
|
||||||
|
# Reuse the i386 PCI subsystem
|
||||||
|
#
|
||||||
|
EXTRA_CFLAGS += -Iarch/i386/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-$(CONFIG_NUMA) += k8-bus_64.o
|
||||||
|
|
||||||
|
direct-y += ../../i386/pci/direct.o
|
||||||
|
acpi-y += ../../i386/pci/acpi.o
|
||||||
|
legacy-y += ../../i386/pci/legacy.o
|
||||||
|
irq-y += ../../i386/pci/irq.o
|
||||||
|
common-y += ../../i386/pci/common.o
|
||||||
|
fixup-y += ../../i386/pci/fixup.o
|
||||||
|
i386-y += ../../i386/pci/i386.o
|
||||||
|
init-y += ../../i386/pci/init.o
|
||||||
|
early-y += ../../i386/pci/early.o
|
||||||
|
mmconfig-shared-y += ../../i386/pci/mmconfig-shared.o
|
Loading…
Add table
Reference in a new issue