From 82b3f66f50f608723a2d388bf933ec08a0fefda4 Mon Sep 17 00:00:00 2001 From: Thorsten Glaser Date: Sun, 20 Dec 2009 14:40:27 +0059 Subject: =?UTF-8?q?Use=20the=20optimisation=20of=20the=20=E2=80=9Cdump?= =?UTF-8?q?=E2=80=9D=20option=20to=20speed=20up=2010x?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Thorsten Glaser --- package/depmaker | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'package/depmaker') diff --git a/package/depmaker b/package/depmaker index 0e683ff8c..43d4327eb 100644 --- a/package/depmaker +++ b/package/depmaker @@ -6,21 +6,22 @@ else export GMAKE=make fi -for subdir in */Makefile; do - subdir=${subdir%/*} - case $subdir { +for dn in */Makefile; do + dn=${dn%/*} + case $dn { (@(?(e)g|uc|)libc|libpthread|uclibc++) ;; (*) - typeset -u dnu=${subdir//-/_} + # dnu: directory name, uppercase, y/-+/_X/ + typeset -u dnu=${dn//-/_} dnu=${dnu//+/X} - print "package-\$(ADK_COMPILE_${dnu}) += $subdir" + print "package-\$(ADK_COMPILE_${dnu}) += $dn" ;; } - cd $subdir + cd $dn deps=$($GMAKE show=PKG_BUILDDEP) cd .. [[ -n $deps ]] || continue - x="${subdir}-compile:" + x="${dn}-compile:" for dep in $deps; do x="$x ${dep}-compile" done -- cgit v1.2.3