summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoman Zippel <zippel@linux-m68k.org>2006-06-08 22:12:50 -0700
committerSam Ravnborg <sam@mars.ravnborg.org>2006-06-09 16:31:44 +0200
commitc30a02e022576c1b49a6c9b39ad83559167399c6 (patch)
tree04c40d988ea2ae7d256fef070ef128bcc7bef840
parent14cdd3c402bf7c66f0bcd76e290f0770a54a4b21 (diff)
downloadlinux-c30a02e022576c1b49a6c9b39ad83559167399c6.tar.gz
linux-c30a02e022576c1b49a6c9b39ad83559167399c6.tar.bz2
linux-c30a02e022576c1b49a6c9b39ad83559167399c6.zip
kbuild: `make kernelrelease' speedup
Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3cb9270c584d..abc0051d259a 100644
--- a/Makefile
+++ b/Makefile
@@ -364,7 +364,8 @@ endif
# of make so .config is not included in this case either (for *config).
no-dot-config-targets := clean mrproper distclean \
- cscope TAGS tags help %docs check%
+ cscope TAGS tags help %docs check% \
+ kernelrelease kernelversion
config-targets := 0
mixed-targets := 0
@@ -1248,7 +1249,7 @@ namespacecheck:
endif #ifeq ($(config-targets),1)
endif #ifeq ($(mixed-targets),1)
-PHONY += checkstack
+PHONY += checkstack kernelrelease kernelversion
checkstack:
$(OBJDUMP) -d vmlinux $$(find . -name '*.ko') | \
$(PERL) $(src)/scripts/checkstack.pl $(ARCH)