From 05d0076d97ed69a531df1aa5cde3a1e6ed17f922 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 14 Sep 2010 19:04:46 +0200 Subject: replace mksh scripts with faster C programs depmaker and pkgmaker is replaced by C programs. scan-pkgs.sh will be replaced by another mechanism. scan-pkgs.sh is needed to recognize package flavour changes, so that a package is rebuild. Generation of meta-data is a lot faster now. Fix or add new PKG variables to fulfill the needs of the new programs. Documentation will follow as soon as it is stable. --- package/depmaker | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 package/depmaker (limited to 'package/depmaker') diff --git a/package/depmaker b/package/depmaker deleted file mode 100644 index da3923554..000000000 --- a/package/depmaker +++ /dev/null @@ -1,38 +0,0 @@ -unset MAKEFLAGS -export MAKEFLAGS=s -cd "$(dirname "$0")" -export TOPDIR=$(realpath ..) -if gmake --help >/dev/null 2>&1; then - export GMAKE=gmake -else - export GMAKE=make -fi -GMAKE="$GMAKE --no-print-directory" -(( x_cols = (COLUMNS > 10) ? COLUMNS - 2 : 80 )) -typeset -L$x_cols pbar - -for dn in */Makefile; do - dn=${dn%/*} - pbar="$dn ..." - print -nu2 "$pbar\r" - case $dn { - (@(?(e)g|uc|)libc|libpthread|uclibc++) ;; - (*) - # dnu: directory name, uppercase, y/-+/_X/ - typeset -u dnu=${dn//-/_} - dnu=${dnu//+/X} - print "package-\$(ADK_COMPILE_${dnu}) += $dn" - ;; - } - cd $dn - deps=$($GMAKE show=PKG_BUILDDEP) - cd .. - [[ -n $deps ]] || continue - x="${dn}-compile:" - for dep in $deps; do - x="$x ${dep}-compile" - done - print -r -- $x -done >Depends.mk -pbar=done -print -u2 "$pbar" -- cgit v1.2.3