Skip to content

Commit 295ac05

Browse files
AdrianBunkSam Ravnborg
authored andcommitted
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 <[email protected]> Signed-off-by: Sam Ravnborg <[email protected]>
1 parent 3b16cc2 commit 295ac05

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1157,6 +1157,7 @@ help:
11571157
@echo 'Static analysers'
11581158
@echo ' checkstack - Generate a list of stack hogs'
11591159
@echo ' namespacecheck - Name space analysis on compiled kernel'
1160+
@echo ' export_report - List the usages of all exported symbols'
11601161
@if [ -r $(srctree)/include/asm-$(SRCARCH)/Kbuild ]; then \
11611162
echo ' headers_check - Sanity check on exported headers'; \
11621163
fi
@@ -1421,6 +1422,9 @@ versioncheck:
14211422
namespacecheck:
14221423
$(PERL) $(srctree)/scripts/namespace.pl
14231424

1425+
export_report:
1426+
$(PERL) $(srctree)/scripts/export_report.pl
1427+
14241428
endif #ifeq ($(config-targets),1)
14251429
endif #ifeq ($(mixed-targets),1)
14261430

0 commit comments

Comments
 (0)