[Buildroot] [git commit] pkg-stats: ensure infratype is reset for every package

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Jul 31 19:38:16 UTC 2012


commit: http://git.buildroot.net/buildroot/commit/?id=697f034f589e0cacaf01f57baa2b9015f7f3227d
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 support/scripts/pkg-stats |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats
index ca2d0ec..de73eeb 100755
--- a/support/scripts/pkg-stats
+++ b/support/scripts/pkg-stats
@@ -105,6 +105,7 @@ for i in $(find boot/ linux/ package/ -name '*.mk' | sort) ; do
 
     hashost=0
     hastarget=0
+    infratype=""
 
     # Determine package infrastructure
     if grep -E "\(host-autotools-package\)" $i > /dev/null ; then


More information about the buildroot mailing list