diff options
author | Adrian Bunk <bunk@kernel.org> | 2007-08-24 17:04:56 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@neptun.(none)> | 2007-10-12 15:39:02 -0400 |
commit | 295ac051861e0c1aa6908bd0b0aafa7636ef4c7c (patch) | |
tree | 5dbfbdb9d74d2ab5941b232acb35f306263d90e2 | |
parent | 3b16cc2d4ccc3949455432241fe378448e77d911 (diff) |
kbuild: call export_report from the Makefile
The main feature is that export_report now automatically works
for O= builds.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1157,6 +1157,7 @@ help: | |||
1157 | @echo 'Static analysers' | 1157 | @echo 'Static analysers' |
1158 | @echo ' checkstack - Generate a list of stack hogs' | 1158 | @echo ' checkstack - Generate a list of stack hogs' |
1159 | @echo ' namespacecheck - Name space analysis on compiled kernel' | 1159 | @echo ' namespacecheck - Name space analysis on compiled kernel' |
1160 | @echo ' export_report - List the usages of all exported symbols' | ||
1160 | @if [ -r $(srctree)/include/asm-$(SRCARCH)/Kbuild ]; then \ | 1161 | @if [ -r $(srctree)/include/asm-$(SRCARCH)/Kbuild ]; then \ |
1161 | echo ' headers_check - Sanity check on exported headers'; \ | 1162 | echo ' headers_check - Sanity check on exported headers'; \ |
1162 | fi | 1163 | fi |
@@ -1421,6 +1422,9 @@ versioncheck: | |||
1421 | namespacecheck: | 1422 | namespacecheck: |
1422 | $(PERL) $(srctree)/scripts/namespace.pl | 1423 | $(PERL) $(srctree)/scripts/namespace.pl |
1423 | 1424 | ||
1425 | export_report: | ||
1426 | $(PERL) $(srctree)/scripts/export_report.pl | ||
1427 | |||
1424 | endif #ifeq ($(config-targets),1) | 1428 | endif #ifeq ($(config-targets),1) |
1425 | endif #ifeq ($(mixed-targets),1) | 1429 | endif #ifeq ($(mixed-targets),1) |
1426 | 1430 | ||