minix/tools/chrootmake.sh

25 lines
455 B
Bash
Raw Normal View History

2005-04-21 16:53:53 +02:00
#!/bin/sh
set -e
export SHELL=/bin/sh
2006-04-12 13:32:49 +02:00
cd /usr/src
if [ $# -gt 0 ]
then make $@
exit $?
fi
make NOASSERTS=yes world
2006-04-12 13:32:49 +02:00
cd tools
rm revision
2005-08-12 14:34:56 +02:00
rm /boot/image/*
make install
2006-04-13 19:15:40 +02:00
cp /boot/image/* /boot/image_big # Make big image accessible by this name
2006-04-12 13:32:49 +02:00
cp ../boot/boot /boot/boot
cd /usr/src
if [ $MAKEMAP -ne 0 ]; then
find . -type f -perm 755 | xargs nm -n 2> /dev/null > symbols.txt
fi
make clean
make cleandepend
find . -name obj-ack -type d|xargs rm -rf