diff options
Diffstat (limited to 'sys/arch/alpha/compile/build_all')
-rw-r--r-- | sys/arch/alpha/compile/build_all | 38 |
1 files changed, 28 insertions, 10 deletions
diff --git a/sys/arch/alpha/compile/build_all b/sys/arch/alpha/compile/build_all index a0a470cd77d..abd8fe68ac8 100644 --- a/sys/arch/alpha/compile/build_all +++ b/sys/arch/alpha/compile/build_all @@ -1,15 +1,33 @@ #!/bin/sh - +# +# $NetBSD: build_all,v 1.4.4.1 1996/06/15 03:46:17 cgd Exp $ -dirlist=`find . -type d ! \( -name . -o -name CVS \) -prune | \ - sed -e s,./,, | sort` +cflist=`cd ../conf ; find . -type f ! -name "*[a-z.]*" ! -name ".*" | \ + sed -e 's,^\./,,'` -for dir in $dirlist; do - echo === $dir - echo "" - echo "***" - echo "" - (cd $dir ; time make -k) - echo "" - echo "***" +docmd() +{ + + echo " ===> $*" +# echo " eval ($*)" + eval "($*)" + echo " <===" +} + +docf() +{ + echo "===> $1" + ( + docmd "cd ../conf ; config $cf" + cd $cf + docmd "time make -k clean" + docmd "time make -k depend" + docmd "time make -k" + ) + echo "<===" echo "" +} + +for cf in $cflist; do + docf $cf done |