aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2007-10-11 05:11:35 -0400
committerThomas Gleixner <tglx@linutronix.de>2007-10-11 05:11:35 -0400
commitd7394fe57adbbd030c5a56f5f4579fe0478cdb9b (patch)
tree8a56e7e456c0bc6356c113d89d98177a1b1c15b3
parentf4b927a242a9d770947dd651d52f5f325a87a2d3 (diff)
i386: use full path for mach-xxx make rules
To simplify the scripted move of the mach-xxx directories, change the makerules to the full arch/.... path. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r--arch/i386/Makefile18
-rw-r--r--arch/i386/mach-generic/Makefile3
2 files changed, 11 insertions, 10 deletions
diff --git a/arch/i386/Makefile b/arch/i386/Makefile
index 52b932478c6d..1bada3d878b7 100644
--- a/arch/i386/Makefile
+++ b/arch/i386/Makefile
@@ -61,36 +61,36 @@ AFLAGS += $(call as-instr,.cfi_startproc\n.cfi_signal_frame\n.cfi_endproc,-DCONF
61CFLAGS += $(cflags-y) 61CFLAGS += $(cflags-y)
62 62
63# Default subarch .c files 63# Default subarch .c files
64mcore-y := mach-default 64mcore-y := arch/i386/mach-default
65 65
66# Voyager subarch support 66# Voyager subarch support
67mflags-$(CONFIG_X86_VOYAGER) := -Iinclude/asm-i386/mach-voyager 67mflags-$(CONFIG_X86_VOYAGER) := -Iinclude/asm-i386/mach-voyager
68mcore-$(CONFIG_X86_VOYAGER) := mach-voyager 68mcore-$(CONFIG_X86_VOYAGER) := arch/i386/mach-voyager
69 69
70# VISWS subarch support 70# VISWS subarch support
71mflags-$(CONFIG_X86_VISWS) := -Iinclude/asm-i386/mach-visws 71mflags-$(CONFIG_X86_VISWS) := -Iinclude/asm-i386/mach-visws
72mcore-$(CONFIG_X86_VISWS) := mach-visws 72mcore-$(CONFIG_X86_VISWS) := arch/i386/mach-visws
73 73
74# NUMAQ subarch support 74# NUMAQ subarch support
75mflags-$(CONFIG_X86_NUMAQ) := -Iinclude/asm-i386/mach-numaq 75mflags-$(CONFIG_X86_NUMAQ) := -Iinclude/asm-i386/mach-numaq
76mcore-$(CONFIG_X86_NUMAQ) := mach-default 76mcore-$(CONFIG_X86_NUMAQ) := arch/i386/mach-default
77 77
78# BIGSMP subarch support 78# BIGSMP subarch support
79mflags-$(CONFIG_X86_BIGSMP) := -Iinclude/asm-i386/mach-bigsmp 79mflags-$(CONFIG_X86_BIGSMP) := -Iinclude/asm-i386/mach-bigsmp
80mcore-$(CONFIG_X86_BIGSMP) := mach-default 80mcore-$(CONFIG_X86_BIGSMP) := arch/i386/mach-default
81 81
82#Summit subarch support 82#Summit subarch support
83mflags-$(CONFIG_X86_SUMMIT) := -Iinclude/asm-i386/mach-summit 83mflags-$(CONFIG_X86_SUMMIT) := -Iinclude/asm-i386/mach-summit
84mcore-$(CONFIG_X86_SUMMIT) := mach-default 84mcore-$(CONFIG_X86_SUMMIT) := arch/i386/mach-default
85 85
86# generic subarchitecture 86# generic subarchitecture
87mflags-$(CONFIG_X86_GENERICARCH) := -Iinclude/asm-i386/mach-generic 87mflags-$(CONFIG_X86_GENERICARCH) := -Iinclude/asm-i386/mach-generic
88mcore-$(CONFIG_X86_GENERICARCH) := mach-default 88mcore-$(CONFIG_X86_GENERICARCH) := arch/i386/mach-default
89core-$(CONFIG_X86_GENERICARCH) += arch/i386/mach-generic/ 89core-$(CONFIG_X86_GENERICARCH) += arch/i386/mach-generic/
90 90
91# ES7000 subarch support 91# ES7000 subarch support
92mflags-$(CONFIG_X86_ES7000) := -Iinclude/asm-i386/mach-es7000 92mflags-$(CONFIG_X86_ES7000) := -Iinclude/asm-i386/mach-es7000
93mcore-$(CONFIG_X86_ES7000) := mach-default 93mcore-$(CONFIG_X86_ES7000) := arch/i386/mach-default
94core-$(CONFIG_X86_ES7000) := arch/i386/mach-es7000/ 94core-$(CONFIG_X86_ES7000) := arch/i386/mach-es7000/
95 95
96# Xen paravirtualization support 96# Xen paravirtualization support
@@ -104,7 +104,7 @@ head-y := arch/i386/kernel/head.o arch/i386/kernel/init_task.o
104libs-y += arch/i386/lib/ 104libs-y += arch/i386/lib/
105core-y += arch/i386/kernel/ \ 105core-y += arch/i386/kernel/ \
106 arch/i386/mm/ \ 106 arch/i386/mm/ \
107 arch/i386/$(mcore-y)/ \ 107 $(mcore-y)/ \
108 arch/i386/crypto/ 108 arch/i386/crypto/
109drivers-$(CONFIG_MATH_EMULATION) += arch/i386/math-emu/ 109drivers-$(CONFIG_MATH_EMULATION) += arch/i386/math-emu/
110drivers-$(CONFIG_PCI) += arch/i386/pci/ 110drivers-$(CONFIG_PCI) += arch/i386/pci/
diff --git a/arch/i386/mach-generic/Makefile b/arch/i386/mach-generic/Makefile
index 6914485c0d85..2f216f55b2dd 100644
--- a/arch/i386/mach-generic/Makefile
+++ b/arch/i386/mach-generic/Makefile
@@ -4,4 +4,5 @@
4 4
5EXTRA_CFLAGS := -Iarch/i386/kernel 5EXTRA_CFLAGS := -Iarch/i386/kernel
6 6
7obj-y := probe.o summit.o bigsmp.o es7000.o default.o ../mach-es7000/ 7obj-y := probe.o summit.o bigsmp.o es7000.o default.o
8obj-y += ../../i386/mach-es7000/