Skip to contentSkip to conversation

call export_report from the Makefile

PATCH In review Adrian Bunk 2 participants 2 messages Aug 24, 2007 – Aug 25, 2007 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 call export_report from the Makefile

The main feature is that export_report now automatically works for O= builds.

---

This patch has been sent on:
- 14 Aug 2007

Makefile +4 -0
@@ -1153,6 +1153,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-$(ARCH)/Kbuild ]; then \
 	 echo  '  headers_check   - Sanity check on exported headers'; \
 	 fi
@@ -1412,6 +1413,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)
 
#1 lore raw
Quoted 2 lines · Adrian Bunk

The main feature is that export_report now automatically works for O= builds.

Applied to kbuild.git.

Sam