843fcabd9e
. Now builds on -STABLE (-CURRENT is broken due to bugs) . etc directory contents centralized instead of in each type directory (can exclude & override as desired) . Removed extraneous language files (lang files for rc really necessary?) . dialog-based build tool with support for custom floppy builds . MFS image loads as a mfs_root module instead of compiled into kernel THIS IS BROKEN ON CURRENT. I'll MFC to -STABLE immediately following. luigi tells me I have an OK from jkh on the MFC. Submitted by: luigi
51 lines
932 B
Bash
Executable File
51 lines
932 B
Bash
Executable File
#! /bin/sh -
|
|
|
|
#
|
|
# $Id: clean,v 1.7.2.1 1999/02/05 12:15:00 abial Exp $
|
|
#
|
|
set -e
|
|
|
|
if [ $# -lt 1 ]
|
|
then
|
|
echo "What to clean? Possible targets are 'dial', 'net', 'isp', 'router' or 'all'"
|
|
exit 1
|
|
fi
|
|
|
|
if [ "$1" = "all" ]
|
|
then
|
|
list="dial net isp router"
|
|
if [ -f picobsd.bin ]
|
|
then
|
|
mv -f picobsd.bin picobsd.bin.old
|
|
fi
|
|
else
|
|
list=$1
|
|
if [ -f picobsd.bin ]
|
|
then
|
|
mv -f picobsd.bin picobsd.bin.$1
|
|
fi
|
|
fi
|
|
|
|
rm -f kernel kernel.kz fs.PICOBSD *.o *core *.db
|
|
cd ..
|
|
rm -rf help/tmp_hlp
|
|
echo "===================== $0 tools started ===================="
|
|
for i in `ls -d tinyware/[a-z]*` tools/write_mfs_in_kernel
|
|
do
|
|
(cd ${i}; \
|
|
if [ -f Makefile ]; \
|
|
then \
|
|
make clean && make cleandepend;\
|
|
fi)
|
|
done
|
|
for j in $list
|
|
do
|
|
echo "===================== $0 $j started ======================"
|
|
(cd ${j}/crunch1; \
|
|
if [ -f Makefile ]; \
|
|
then \
|
|
make clean ; \
|
|
fi)
|
|
echo "=============== $0 $j completed successfuly =============="
|
|
done
|