Leave it to me to actually forget the script...
#!/bin/bash -x
KERNEL=/home/mirror/kernel.org/linux/kernel/v2.4/linux-2.4.21.tar.gz
if [ -d /tmp/build ]; then
umount /tmp/build > /dev/null 2>&1
rmdir /tmp/build
fi
mkdir -p /tmp/build
mount -t tmpfs none /tmp/build
cd /tmp/build
tar xfz $KERNEL
cd linux*
cp -f arch/i386/defconfig .config
yes "" | make oldconfig
make dep
start=`date`
time bash -c 'make -j3 bzImage > build.log 2>&1'
end=`date`
echo "Started: $start Ended: $end"
-hpa
-- <hpa@transmeta.com> at work, <hpa@zytor.com> in private! "Unix gives you enough rope to shoot yourself in the foot." Architectures needed: ia64 m68k mips64 ppc ppc64 s390 s390x sh v850 x86-64 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/