Build ELF for release (chrootmake).
This commit is contained in:
parent
7a60d6d33f
commit
68bd32bedb
1 changed files with 7 additions and 0 deletions
|
@ -12,9 +12,16 @@ make world
|
||||||
cd tools
|
cd tools
|
||||||
rm revision
|
rm revision
|
||||||
rm /boot/image/*
|
rm /boot/image/*
|
||||||
|
rm -f /boot/kernel/* # on old systems might not be present
|
||||||
|
rm -rf /boot/modules/* # same as above
|
||||||
make install
|
make install
|
||||||
cp /boot/image/* /boot/image_big # Make big image accessible by this name
|
cp /boot/image/* /boot/image_big # Make big image accessible by this name
|
||||||
cp ../boot/boot/boot /boot/boot
|
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
|
cd /usr/src
|
||||||
if [ $MAKEMAP -ne 0 ]; then
|
if [ $MAKEMAP -ne 0 ]; then
|
||||||
find . -type f -perm 755 | xargs nm -n 2> /dev/null > symbols.txt
|
find . -type f -perm 755 | xargs nm -n 2> /dev/null > symbols.txt
|
||||||
|
|
Loading…
Reference in a new issue