CVS: moonbase/kernel/linux-stable BUILD,1.8,1.9
nestu at lunar-linux.org
nestu at lunar-linux.org
Wed Oct 15 18:15:35 GMT 2003
Update of /var/cvs/lunar/moonbase/kernel/linux-stable
In directory dbguin.lunar-linux.org:/tmp/cvs-serv13229
Modified Files:
BUILD
Log Message:
Added a fallback for the case that the selected configure method is not available
Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/kernel/linux-stable/BUILD,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- BUILD 9 Oct 2003 15:47:38 -0000 1.8
+++ BUILD 15 Oct 2003 18:15:33 -0000 1.9
@@ -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)
- if query "Repeat $CONFIG_METHOD? " n
- then CONFIG_KERNEL=y
- else CONFIG_KERNEL=n
- fi ;;
- *) false ;;
- esac
+ case $CONFIG_METHOD
+ 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
+ ;;
+
+ *)
+ false ;;
+ esac
do
true
done
More information about the Lunar-commits
mailing list