CVS: moonbase/kernel/linux-vanilla BUILD,1.12,1.13

elaine at lunar-linux.org elaine at lunar-linux.org
Fri Oct 17 18:16:03 GMT 2003


Update of /var/cvs/lunar/moonbase/kernel/linux-vanilla
In directory dbguin.lunar-linux.org:/tmp/cvs-serv9547

Modified Files:
	BUILD 
Log Message:
Put nestu's corrected BUILD back


Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/kernel/linux-vanilla/BUILD,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- BUILD	15 Oct 2003 22:26:03 -0000	1.12
+++ BUILD	17 Oct 2003 18:16:01 -0000	1.13
@@ -1,32 +1,39 @@
 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
 
-
-
 (
 
   yes  n  |  make  oldconfig
@@ -50,3 +57,4 @@
   ln -f -s /lib/modules/${VERSION}-vanilla  /lib/modules/$VERSION
 
 ) > $C_FIFO 2>&1
+




More information about the Lunar-commits mailing list