From: Evgeniy Ivanov Date: Mon, 30 Jan 2012 13:40:16 +0000 (+0400) Subject: Build ELF for release (chrootmake). X-Git-Tag: v3.2.0~63 X-Git-Url: http://zhaoyanbai.com/repos/nslookup.html?a=commitdiff_plain;h=68bd32bedb2141651ca2a1e9455f16c628d1bbd6;p=minix.git Build ELF for release (chrootmake). --- diff --git a/tools/chrootmake.sh b/tools/chrootmake.sh index 22b2e1d5f..b1c2148d9 100755 --- a/tools/chrootmake.sh +++ b/tools/chrootmake.sh @@ -12,9 +12,16 @@ make world cd tools rm revision rm /boot/image/* +rm -f /boot/kernel/* # on old systems might not be present +rm -rf /boot/modules/* # same as above make install cp /boot/image/* /boot/image_big # Make big image accessible by this name cp ../boot/boot/boot /boot/boot +cp ../sys/arch/i386/stand/boot/biosboot/boot_monitor / +CC=clang make cleandepend clean depend image +CC=clang make install +cp /boot/kernel/* /boot/kernel_default +cp -rf /boot/modules/* /boot/modules_default cd /usr/src if [ $MAKEMAP -ne 0 ]; then find . -type f -perm 755 | xargs nm -n 2> /dev/null > symbols.txt