# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# for more details.
-#
-# RCSID $Id: build-umlkernel,v 1.2 2005/01/09 21:54:25 as Exp $
DIR=`dirname $0`
then
cecho-n " * Logfile '$LOGFILE' does not exist..creating.."
touch $LOGFILE
- cecho "done"
+ cgecho "done"
fi
cecho-n " * Unpacking kernel.."
tar xjf $KERNEL >> $LOGFILE 2>&1
-cecho "done"
+cgecho "done"
KERNELDIR=${BUILDDIR}/linux-${KERNELVERSION}
then
cecho-n " * Applying uml patch.."
bzcat $UMLPATCH | patch -p1 >> $LOGFILE 2>&1
- cecho "done"
+ cgecho "done"
fi
#######################################################
cecho "!!"
cecho "!! Making .config for kernel. You might be prompted for new parameters!"
cecho "!!"
-make oldconfig ARCH=um >> $LOGFILE 2>&1
+make oldconfig ARCH=um SUBARCH=i386 2>&1 | tee -a $LOGFILE
cecho-n " * Now compiling uml kernel.."
-make linux ARCH=um >> $LOGFILE 2>&1
-cecho "done"
+make linux ARCH=um SUBARCH=i386 >> $LOGFILE 2>&1
+cgecho "done"
cecho-n " * Copying uml kernel to '${BUILDDIR}/linux-uml-${KERNELVERSION}'.."
mv linux ${BUILDDIR}/linux-uml-${KERNELVERSION}
-cecho "done"
-
-
+cgecho "done"