Author: sparky                       Date: Sun Oct 19 20:25:03 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- build prefered arch list from space separated list of archs

---- Files affected:
SOURCES:
   kernel-config.awk (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: SOURCES/kernel-config.awk
diff -u SOURCES/kernel-config.awk:1.10 SOURCES/kernel-config.awk:1.11
--- SOURCES/kernel-config.awk:1.10      Sun Sep 28 16:54:46 2008
+++ SOURCES/kernel-config.awk   Sun Oct 19 22:24:57 2008
@@ -48,12 +48,10 @@
                print "arch= must be specified" > "/dev/stderr"
                exit 1
        }
-       if ( ! basearch )
-               basearch = arch
-
-       targetLevel[ "all" ] = 1
-       targetLevel[ basearch ] = 2
-       targetLevel[ arch ] = 3
+       split( arch, Archs )
+       for (i = 1; i in Archs; i++) {
+               targetLevel[ Archs[ i ] ] = i
+       }
 
        shouldDie = 0
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/kernel-config.awk?r1=1.10&r2=1.11&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to