7 if [ "$1" = "clean" ] ; then
8 echo "Cleaning source from object files .."
9 make clean
-C kernel
/arch
/$ARCH &&
10 make clean
-C kernel
/lib
&&
11 make clean
-C kernel
&&
12 make clean
-C glibc
&&
13 rm iso
/boot
/kernel.bin
;
15 rm zexos-
$VERSION-i386.iso
;
20 make -C kernel
/arch
/$ARCH &&
24 cp kernel
/kernel.bin iso
/boot
/kernel.bin
&&
25 cp glibc
/libc.a iso
/libc.a
&&
26 cp README iso
/README
&&
27 mkisofs
-R -b boot
/grub
/stage2_eltorito
-no-emul-boot -boot-load-size 4 -boot-info-table -o zexos-
$VERSION-$ARCH.iso iso
&&
28 echo iso created OK
&& exit 0