CVS: moonbase/kernel/linux-vanilla BUILD,1.10,1.11
nestu at lunar-linux.org
nestu at lunar-linux.org
Wed Oct 15 18:25:41 GMT 2003
Update of /var/cvs/lunar/moonbase/kernel/linux-vanilla
In directory dbguin.lunar-linux.org:/tmp/cvs-serv13503
Modified Files:
BUILD
Log Message:
Adding fallbacks if the selected configuration method is not available
Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/kernel/linux-vanilla/BUILD,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- BUILD 9 Oct 2003 16:21:54 -0000 1.10
+++ BUILD 15 Oct 2003 18:25:39 -0000 1.11
@@ -1,26 +1,34 @@
cd /usr/src/linux
while
- case $CONFIG_KERNEL in
- y|Y) if [ "$CONFIG_METHOD" == "xconfig" ]
- then
- if [ "$DISPLAY" ]
- then
- make xconfig
- else
- message xconfig could find display falling back to menuconfig
- make menuconfig
- fi
- else
- make $CONFIG_METHOD
- fi
+ case $CONFIG_KERNEL in
+ y|Y)
+ case $CONFIG_METHOD in
+ xconfig )
+ if [ "$DISPLAY" ]; then
+ make xconfig || make menuconfig || make config
+ else
+ make menuconfig || make config
+ fi
+ ;;
+
+ menuconfig )
+ make menuconfig || make config ;;
+
+ config )
+ make config ;;
+ esac
+
+ if query "Repeat $CONFIG_METHOD? " n ; then
+ CONFIG_KERNEL=y
+ else CONFIG_KERNEL=n
+ fi
+
+ ;;
- if query "Repeat $CONFIG_METHOD? " n
- then CONFIG_KERNEL=y
- else CONFIG_KERNEL=n
- fi ;;
- *) false ;;
- esac
+ *)
+ false ;;
+ esac
do
true
done
More information about the Lunar-commits
mailing list