Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [pull request] Pull request for branch pkg-stats-fixes
@ 2010-05-21 13:23 Thomas Petazzoni
  2010-05-21 13:23 ` [Buildroot] [PATCH 1/1] pkg-stats: better heuristics Thomas Petazzoni
  2010-05-27 12:12 ` [Buildroot] [pull request] Pull request for branch pkg-stats-fixes Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2010-05-21 13:23 UTC (permalink / raw)
  To: buildroot

The following changes since commit f3122259e2cbbc0be0fc02820a146b4e4f48bef6:
  Peter Korsgaard (1):
        mtd-utils: buildsystem is broken with parallel make (regarding libubi)

are available in the git repository at:

  git://git.busybox.net/~tpetazzoni/git/buildroot pkg-stats-fixes

Thomas Petazzoni (1):
      pkg-stats: better heuristics

 scripts/pkg-stats |   27 +++++++++++++--------------
 1 files changed, 13 insertions(+), 14 deletions(-)

Thanks,
-- 
Thomas Petazzoni

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] pkg-stats: better heuristics
  2010-05-21 13:23 [Buildroot] [pull request] Pull request for branch pkg-stats-fixes Thomas Petazzoni
@ 2010-05-21 13:23 ` Thomas Petazzoni
  2010-05-27 12:12 ` [Buildroot] [pull request] Pull request for branch pkg-stats-fixes Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2010-05-21 13:23 UTC (permalink / raw)
  To: buildroot

Slightly improve the package type detection heuristic, and fix a small
bug about package/multimedia/multimedia.mk exclusion.

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

diff --git a/scripts/pkg-stats b/scripts/pkg-stats
index 0ed420d..1174ef0 100755
--- a/scripts/pkg-stats
+++ b/scripts/pkg-stats
@@ -70,7 +70,7 @@ for i in $(find package/ -name '*.mk') ; do
 	$i = "package/database/database.mk" -o \
 	$i = "package/editors/editors.mk" -o \
 	$i = "package/games/games.mk" -o \
-	$i = "package/multimedia/multimedia" -o \
+	$i = "package/multimedia/multimedia.mk" -o \
 	$i = "package/customize/customize.mk" -o \
 	$i = "package/gnuconfig/gnuconfig.mk" -o \
 	$i = "package/x11r7/x11r7.mk" ; then
@@ -144,7 +144,7 @@ for i in $(find package/ -name '*.mk') ; do
     echo "</td>"
 
     echo "<td class=\"centered\">"
-    if grep "^$pkg:" $i > /dev/null ; then
+    if test $is_pkg_target -eq 0 -a $is_auto_target -eq 0 ; then
 	found=1
 	is_manual_target=1
 	echo "<b>YES</b>"
@@ -155,18 +155,17 @@ for i in $(find package/ -name '*.mk') ; do
 
     echo "<td>"
     echo "<ul>"
-    if [ $is_manual_target -eq 1 ]; then
-	echo "<li>convert to generic target</li>"
-	convert_to_generic_target=$((convert_to_generic_target+1))
-    fi
-    if [ $is_manual_host -eq 1 ]; then
-	echo "<li>convert to generic host</li>"
-	convert_to_generic_host=$((convert_to_generic_host+1))
-    fi
-    if grep "\./configure" $i > /dev/null ; then
-	if [ $is_manual_host -ne 1 ] ; then
-	    echo "<li>convert package to autotools ?</li>"
-	    convert_to_autotools=$((convert_to_autotools+1))
+    if grep "/configure" $i > /dev/null ; then
+	echo "<li>convert package to autotools ?</li>"
+	convert_to_autotools=$((convert_to_autotools+1))
+    else
+	if [ $is_manual_target -eq 1 ]; then
+	    echo "<li>convert to generic target</li>"
+	    convert_to_generic_target=$((convert_to_generic_target+1))
+	fi
+	if [ $is_manual_host -eq 1 ]; then
+	    echo "<li>convert to generic host</li>"
+	    convert_to_generic_host=$((convert_to_generic_host+1))
 	fi
     fi
     if [ $found -eq 0 ] ; then
-- 
1.6.3.3

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [pull request] Pull request for branch pkg-stats-fixes
  2010-05-21 13:23 [Buildroot] [pull request] Pull request for branch pkg-stats-fixes Thomas Petazzoni
  2010-05-21 13:23 ` [Buildroot] [PATCH 1/1] pkg-stats: better heuristics Thomas Petazzoni
@ 2010-05-27 12:12 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2010-05-27 12:12 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 Thomas> The following changes since commit f3122259e2cbbc0be0fc02820a146b4e4f48bef6:
 Thomas>   Peter Korsgaard (1):
 Thomas>         mtd-utils: buildsystem is broken with parallel make (regarding libubi)

 Thomas> are available in the git repository at:

 Thomas>   git://git.busybox.net/~tpetazzoni/git/buildroot pkg-stats-fixes

 Thomas> Thomas Petazzoni (1):
 Thomas>       pkg-stats: better heuristics

Pulled, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-05-27 12:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-21 13:23 [Buildroot] [pull request] Pull request for branch pkg-stats-fixes Thomas Petazzoni
2010-05-21 13:23 ` [Buildroot] [PATCH 1/1] pkg-stats: better heuristics Thomas Petazzoni
2010-05-27 12:12 ` [Buildroot] [pull request] Pull request for branch pkg-stats-fixes Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox