minix/tools/chrootmake.sh
Ben Gras bb364f9cc8 simplify chrootmake.sh
. just use make world
2012-02-15 01:19:12 +01:00

17 lines
299 B
Bash
Executable file

#!/bin/sh
set -e
export SHELL=/bin/sh
cd /usr/src
if [ $# -gt 0 ]
then make $@
exit $?
fi
make world
cp /usr/mdec/boot_monitor /
cp /boot/minix_latest/* /boot/minix_default/
if [ $MAKEMAP -ne 0 ]; then
find . -type f -perm 755 | xargs nm -n 2> /dev/null > symbols.txt
fi
make clean cleandepend