Update of /cvsroot/devil-linux/build/scripts
In directory sc8-pr-cvs1:/tmp/cvs-serv17417/build/scripts
Modified Files:
prepare
Log Message:
viac3-2 & highmem support
Index: prepare
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/prepare,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- prepare 13 Oct 2003 17:36:09 -0000 1.27
+++ prepare 26 Oct 2003 15:42:42 -0000 1.28
@@ -86,13 +86,27 @@
fi
cp $MYDIR/config/config_linux $KERNELDIR/.config || exit 1
- echo "CONFIG_M$CONFIG_CPU=y" >> $KERNELDIR/.config
- if [ "$CONFIG_LINUX_SMP" = "y" ]; then
+ echo "CONFIG_M$CONFIG_KERNEL_CPU=y" >> $KERNELDIR/.config
+ if [ "$CONFIG_LINUX_SMP" == "y" ]; then
cat $DL_DIR/scripts/config/config_linux.smp >> $KERNELDIR/.config || exit 1
else
cat $DL_DIR/scripts/config/config_linux.up >> $KERNELDIR/.config || exit 1
fi
+ if [ "$CONFIG_HIGHMEM" == "y" ]; then
+ cat $DL_DIR/scripts/config/config_highmem.yes >> $KERNELDIR/.config || exit 1
+ else
+ cat $DL_DIR/scripts/config/config_highmem.no >> $KERNELDIR/.config || exit 1
+ fi
+
+ if [ "$CONFIG_KERNEL_CPU" == "VIAC3_2" ]; then
+ cat $DL_DIR/scripts/config/config_linux.epia >> $KERNELDIR/.config || exit 1
+ elif [ "$CONFIG_KERNEL_CPU" == "486" ]; then
+ cat $DL_DIR/scripts/config/config_linux.486 >> $KERNELDIR/.config || exit 1
+ else
+ cat $DL_DIR/scripts/config/config_linux.486 >> $KERNELDIR/.config || exit 1
+ fi
+
pushd $KERNELDIR > /dev/null
if [ ! -f devil-linux-kernel-patches.done ]; then
|