Commit 23f88ebd authored by Sam Ravnborg's avatar Sam Ravnborg Committed by Tom Rini

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: default avatarSam Ravnborg <sam@ravnborg.org>
parent 6d1de2bb
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment