NetBSD/sys/arch/alpha/compile/build_all
cgd 55651c941b punt on the grep and do all the file selection in find. don't try
to build kernels from files with '.' anywhere in their names.
1996-06-15 03:45:02 +00:00

34 lines
478 B
Bash

#!/bin/sh -
#
# $NetBSD: build_all,v 1.5 1996/06/15 03:45:02 cgd Exp $
cflist=`cd ../conf ; find . -type f ! -name "*[a-z.]*" ! -name ".*" | \
sed -e 's,^\./,,'`
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