aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSam Ravnborg <sam@mars.ravnborg.org>2004-08-31 01:23:24 +0200
committerTom Rini <trini@kernel.crashing.org>2004-08-31 01:23:24 +0200
commit23f88ebd017a73507cb66e60e0bf5b7f01649e3c (patch)
treed687b92ec82aafe078e4ff88e76891a8b086efe0 /Makefile
parent6d1de2bb63a165ae8a2e14c6f29a49d5e4be298f (diff)
downloadhistory-23f88ebd017a73507cb66e60e0bf5b7f01649e3c.tar.gz
kbuild: Add stactic analyser tools to make help
Added the tools that seems to be maintained. There is a bunch that has not been touched for a while - ignore them for now. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index f6b8c0431a2475..9b119988612196 100644
--- a/Makefile
+++ b/Makefile
@@ -963,7 +963,13 @@ help:
@echo ' rpm - Build a kernel as an RPM package'
@echo ' tags/TAGS - Generate tags file for editors'
@echo ' cscope - Generate cscope index'
+ @echo ''
+ @echo 'Static analysers'
+ @echo ' buildcheck - List dangling references to vmlinux discarded sections'
+ @echo ' and init sections from non-init sections'
@echo ' checkstack - Generate a list of stack hogs'
+ @echo ' namespacecheck - Name space analysis on compiled kernel'
+ @echo ''
@echo 'Kernel packaging:'
@$(MAKE) -f $(package-dir)/Makefile help
@echo ''
@@ -1123,11 +1129,11 @@ versioncheck:
| xargs $(PERL) -w scripts/checkversion.pl
buildcheck:
- $(PERL) $(src)/scripts/reference_discarded.pl
- $(PERL) $(src)/scripts/reference_init.pl
+ $(PERL) $(srctree)/scripts/reference_discarded.pl
+ $(PERL) $(srctree)/scripts/reference_init.pl
namespacecheck:
- $(PERL) $(src)/scripts/namespace.pl
+ $(PERL) $(srctree)/scripts/namespace.pl
endif #ifeq ($(config-targets),1)
endif #ifeq ($(mixed-targets),1)