diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2007-10-11 05:16:00 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2007-10-11 05:16:00 -0400 |
commit | 7b06e6c58cf71c4c1a930905e395ea73130aa6e0 (patch) | |
tree | 5bdb54590bfb3e4a7217c2215740bab558d9c9f4 | |
parent | e0915fb261707f4e3ba460871b5454c7d4726df6 (diff) |
x86_64: prepare shared pci/Makefile
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r-- | arch/x86_64/pci/Makefile | 32 | ||||
-rw-r--r-- | arch/x86_64/pci/Makefile_64 | 27 |
2 files changed, 32 insertions, 27 deletions
diff --git a/arch/x86_64/pci/Makefile b/arch/x86_64/pci/Makefile index 77b1b9abedc2..d04d8f976d1c 100644 --- a/arch/x86_64/pci/Makefile +++ b/arch/x86_64/pci/Makefile | |||
@@ -1,27 +1,5 @@ | |||
1 | # | 1 | ifeq ($(CONFIG_X86_32),y) |
2 | # Makefile for X86_64 specific PCI routines | 2 | include ${srctree}/arch/i386/pci/Makefile_32 |
3 | # | 3 | else |
4 | # Reuse the i386 PCI subsystem | 4 | include ${srctree}/arch/x86_64/pci/Makefile_64 |
5 | # | 5 | endif |
6 | EXTRA_CFLAGS += -Iarch/i386/pci | ||
7 | |||
8 | obj-y := i386.o | ||
9 | obj-$(CONFIG_PCI_DIRECT)+= direct.o | ||
10 | obj-y += fixup.o init.o | ||
11 | obj-$(CONFIG_ACPI) += acpi.o | ||
12 | obj-y += legacy.o irq.o common.o early.o | ||
13 | # mmconfig has a 64bit special | ||
14 | obj-$(CONFIG_PCI_MMCONFIG) += mmconfig_64.o direct.o mmconfig-shared.o | ||
15 | |||
16 | obj-$(CONFIG_NUMA) += k8-bus_64.o | ||
17 | |||
18 | direct-y += ../../i386/pci/direct.o | ||
19 | acpi-y += ../../i386/pci/acpi.o | ||
20 | legacy-y += ../../i386/pci/legacy.o | ||
21 | irq-y += ../../i386/pci/irq.o | ||
22 | common-y += ../../i386/pci/common.o | ||
23 | fixup-y += ../../i386/pci/fixup.o | ||
24 | i386-y += ../../i386/pci/i386.o | ||
25 | init-y += ../../i386/pci/init.o | ||
26 | early-y += ../../i386/pci/early.o | ||
27 | mmconfig-shared-y += ../../i386/pci/mmconfig-shared.o | ||
diff --git a/arch/x86_64/pci/Makefile_64 b/arch/x86_64/pci/Makefile_64 new file mode 100644 index 000000000000..77b1b9abedc2 --- /dev/null +++ b/arch/x86_64/pci/Makefile_64 | |||
@@ -0,0 +1,27 @@ | |||
1 | # | ||
2 | # Makefile for X86_64 specific PCI routines | ||
3 | # | ||
4 | # Reuse the i386 PCI subsystem | ||
5 | # | ||
6 | EXTRA_CFLAGS += -Iarch/i386/pci | ||
7 | |||
8 | obj-y := i386.o | ||
9 | obj-$(CONFIG_PCI_DIRECT)+= direct.o | ||
10 | obj-y += fixup.o init.o | ||
11 | obj-$(CONFIG_ACPI) += acpi.o | ||
12 | obj-y += legacy.o irq.o common.o early.o | ||
13 | # mmconfig has a 64bit special | ||
14 | obj-$(CONFIG_PCI_MMCONFIG) += mmconfig_64.o direct.o mmconfig-shared.o | ||
15 | |||
16 | obj-$(CONFIG_NUMA) += k8-bus_64.o | ||
17 | |||
18 | direct-y += ../../i386/pci/direct.o | ||
19 | acpi-y += ../../i386/pci/acpi.o | ||
20 | legacy-y += ../../i386/pci/legacy.o | ||
21 | irq-y += ../../i386/pci/irq.o | ||
22 | common-y += ../../i386/pci/common.o | ||
23 | fixup-y += ../../i386/pci/fixup.o | ||
24 | i386-y += ../../i386/pci/i386.o | ||
25 | init-y += ../../i386/pci/init.o | ||
26 | early-y += ../../i386/pci/early.o | ||
27 | mmconfig-shared-y += ../../i386/pci/mmconfig-shared.o | ||