Skip to content

Commit

Permalink
kbuild: call export_report from the Makefile
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
AdrianBunk authored and Sam Ravnborg committed Oct 12, 2007
1 parent 3b16cc2 commit 295ac05
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit 295ac05

Please sign in to comment.