2005-04-21 16:53:53 +02:00
|
|
|
#!/bin/sh
|
2006-03-15 16:34:12 +01:00
|
|
|
set -e
|
2006-03-26 20:08:08 +02:00
|
|
|
export SHELL=/bin/sh
|
2006-04-12 13:32:49 +02:00
|
|
|
cd /usr/src
|
2010-08-05 15:56:51 +02:00
|
|
|
|
|
|
|
if [ $# -gt 0 ]
|
|
|
|
then make $@
|
|
|
|
exit $?
|
|
|
|
fi
|
|
|
|
|
2012-02-02 12:02:34 +01:00
|
|
|
CC=clang make world
|
2006-04-12 13:32:49 +02:00
|
|
|
cd tools
|
2005-06-17 18:28:36 +02:00
|
|
|
rm revision
|
2012-02-02 12:02:34 +01:00
|
|
|
rm -rf /boot/minix/* # on old systems might not be present
|
2012-01-30 14:40:16 +01:00
|
|
|
CC=clang make install
|
2012-02-02 12:02:34 +01:00
|
|
|
cp ../sys/arch/i386/stand/boot/biosboot/boot_monitor /
|
|
|
|
cp -rf /boot/minix/* /boot/minix_default
|
2006-04-12 13:32:49 +02:00
|
|
|
cd /usr/src
|
2010-05-17 18:52:48 +02:00
|
|
|
if [ $MAKEMAP -ne 0 ]; then
|
|
|
|
find . -type f -perm 755 | xargs nm -n 2> /dev/null > symbols.txt
|
|
|
|
fi
|
2005-05-03 17:37:34 +02:00
|
|
|
make clean
|
2010-06-01 16:44:36 +02:00
|
|
|
make cleandepend
|
2011-06-08 16:19:09 +02:00
|
|
|
find . -name 'obj-*' -type d|xargs rm -rf
|