2004-12-19 08:39:52 +07:00
|
|
|
#/bin/sh
|
|
|
|
|
2005-07-04 22:02:25 +07:00
|
|
|
EXTRAS="\
|
2006-03-29 19:44:41 +07:00
|
|
|
extras/path_id \
|
2005-07-04 22:02:25 +07:00
|
|
|
extras/scsi_id \
|
|
|
|
extras/ata_id \
|
|
|
|
extras/volume_id \
|
|
|
|
extras/usb_id \
|
2005-07-13 16:35:51 +07:00
|
|
|
extras/dasd_id \
|
2005-08-12 04:37:54 +07:00
|
|
|
extras/cdrom_id \
|
2005-09-06 17:18:04 +07:00
|
|
|
extras/edd_id \
|
2005-07-19 22:14:12 +07:00
|
|
|
extras/floppy \
|
2005-08-10 00:00:37 +07:00
|
|
|
extras/run_directory \
|
|
|
|
extras/firmware"
|
2004-12-19 08:39:52 +07:00
|
|
|
|
2005-09-14 22:29:27 +07:00
|
|
|
# with debug
|
2005-10-27 23:42:52 +07:00
|
|
|
make clean EXTRAS="$EXTRAS" >/dev/null
|
2005-10-28 01:32:07 +07:00
|
|
|
make all -j4 $MAKEOPTS DEBUG=true EXTRAS="$EXTRAS" || exit
|
2004-12-19 08:39:52 +07:00
|
|
|
echo -e "\n\n"
|
|
|
|
|
2005-09-14 22:29:27 +07:00
|
|
|
# without any logging
|
2005-10-27 23:42:52 +07:00
|
|
|
make clean EXTRAS="$EXTRAS" >/dev/null
|
2005-10-28 01:32:07 +07:00
|
|
|
make all $MAKEOPTS USE_LOG=false EXTRAS="$EXTRAS" || exit
|
2004-12-19 08:39:52 +07:00
|
|
|
echo -e "\n\n"
|
|
|
|
|
2005-11-09 21:42:07 +07:00
|
|
|
# klibc build
|
2006-01-10 03:18:00 +07:00
|
|
|
if [ -n "$KLCC" -a -e "$KLCC" ]; then
|
2005-11-09 21:42:07 +07:00
|
|
|
echo KLCC: "$KLCC"
|
|
|
|
make clean EXTRAS="$EXTRAS" >/dev/null
|
|
|
|
make all -j4 $MAKEOPTS USE_KLIBC=true DEBUG=true EXTRAS="$EXTRAS" KLCC="$KLCC" || exit
|
|
|
|
echo -e "\n\n"
|
|
|
|
fi
|
2004-12-19 08:39:52 +07:00
|
|
|
|
2005-09-14 22:29:27 +07:00
|
|
|
# install in temporary dir and show it
|
|
|
|
TEMPDIR="`pwd`/.tmp"
|
|
|
|
rm -rf $TEMPDIR
|
|
|
|
mkdir $TEMPDIR
|
2005-10-27 23:42:52 +07:00
|
|
|
make clean EXTRAS="$EXTRAS" >/dev/null
|
2005-09-14 22:29:27 +07:00
|
|
|
make all $MAKEOPTS DESTDIR="$TEMPDIR" EXTRAS="$EXTRAS" || exit
|
|
|
|
make install DESTDIR="$TEMPDIR" EXTRAS="$EXTRAS" || exit
|
|
|
|
echo -e "\nInstalled tree:"
|
|
|
|
find $TEMPDIR
|
|
|
|
rm -rf $TEMPDIR
|
|
|
|
|
2005-10-27 23:42:52 +07:00
|
|
|
make clean EXTRAS="$EXTRAS" >/dev/null
|