aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2007-10-11 11:53:52 -0400
committerThomas Gleixner <tglx@linutronix.de>2007-10-11 11:53:52 -0400
commit91e034eff1a79835739c6494e9b90796ee43300c (patch)
tree21615818be9c51ce420dd38a22d4324c4d47d390
parent754090fb438b423c953b0db82505184d7738e0d1 (diff)
x86: Fix the $(ARCH) dependent help output in the top Makefile
Change the $(ARCH) dependency to $(SRCARCH) to honor the x86 namespace for i386 and x86_64. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 2a30f5fd8294..1274084c9090 100644
--- a/Makefile
+++ b/Makefile
@@ -1141,7 +1141,7 @@ help:
1141 @echo ' cscope - Generate cscope index' 1141 @echo ' cscope - Generate cscope index'
1142 @echo ' kernelrelease - Output the release version string' 1142 @echo ' kernelrelease - Output the release version string'
1143 @echo ' kernelversion - Output the version stored in Makefile' 1143 @echo ' kernelversion - Output the version stored in Makefile'
1144 @if [ -r $(srctree)/include/asm-$(ARCH)/Kbuild ]; then \ 1144 @if [ -r $(srctree)/include/asm-$(SRCARCH)/Kbuild ]; then \
1145 echo ' headers_install - Install sanitised kernel headers to INSTALL_HDR_PATH'; \ 1145 echo ' headers_install - Install sanitised kernel headers to INSTALL_HDR_PATH'; \
1146 echo ' (default: $(INSTALL_HDR_PATH))'; \ 1146 echo ' (default: $(INSTALL_HDR_PATH))'; \
1147 fi 1147 fi
@@ -1149,7 +1149,7 @@ help:
1149 @echo 'Static analysers' 1149 @echo 'Static analysers'
1150 @echo ' checkstack - Generate a list of stack hogs' 1150 @echo ' checkstack - Generate a list of stack hogs'
1151 @echo ' namespacecheck - Name space analysis on compiled kernel' 1151 @echo ' namespacecheck - Name space analysis on compiled kernel'
1152 @if [ -r $(srctree)/include/asm-$(ARCH)/Kbuild ]; then \ 1152 @if [ -r $(srctree)/include/asm-$(SRCARCH)/Kbuild ]; then \
1153 echo ' headers_check - Sanity check on exported headers'; \ 1153 echo ' headers_check - Sanity check on exported headers'; \
1154 fi 1154 fi
1155 @echo '' 1155 @echo ''