[2.6 patch] call export_report from the Makefile

From: Adrian Bunk
Date: Tue Aug 14 2007 - 17:37:24 EST


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

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>

---
83d0ea7d67407f80df2ba9c95e050ecd1f03a8fe
diff --git a/Makefile b/Makefile
index cb2e057..b6aa2b5 100644
--- a/Makefile
+++ b/Makefile
@@ -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)


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/