summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2007-08-24 23:04:56 +0200
committerSam Ravnborg <sam@neptun.(none)>2007-10-12 21:39:02 +0200
commit295ac051861e0c1aa6908bd0b0aafa7636ef4c7c (patch)
tree5dbfbdb9d74d2ab5941b232acb35f306263d90e2
parentkbuild: move Kai Germaschewski to CREDITS (diff)
downloadlinux-295ac051861e0c1aa6908bd0b0aafa7636ef4c7c.tar.xz
linux-295ac051861e0c1aa6908bd0b0aafa7636ef4c7c.zip
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--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 679094a9b2dd..4e474fa40737 100644
--- a/Makefile
+++ b/Makefile
@@ -1157,6 +1157,7 @@ help:
@echo 'Static analysers'
@echo ' checkstack - Generate a list of stack hogs'
@echo ' namespacecheck - Name space analysis on compiled kernel'
+ @echo ' export_report - List the usages of all exported symbols'
@if [ -r $(srctree)/include/asm-$(SRCARCH)/Kbuild ]; then \
echo ' headers_check - Sanity check on exported headers'; \
fi
@@ -1421,6 +1422,9 @@ versioncheck:
namespacecheck:
$(PERL) $(srctree)/scripts/namespace.pl
+export_report:
+ $(PERL) $(srctree)/scripts/export_report.pl
+
endif #ifeq ($(config-targets),1)
endif #ifeq ($(mixed-targets),1)