SOURCES: kernel-config-update.py - add new symbol for all arch

glen glen at pld-linux.org
Mon Jan 28 23:25:22 CET 2008


Author: glen                         Date: Mon Jan 28 22:25:22 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- add new symbol for all arch

---- Files affected:
SOURCES:
   kernel-config-update.py (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/kernel-config-update.py
diff -u SOURCES/kernel-config-update.py:1.1 SOURCES/kernel-config-update.py:1.2
--- SOURCES/kernel-config-update.py:1.1	Mon Jan 28 23:19:36 2008
+++ SOURCES/kernel-config-update.py	Mon Jan 28 23:25:16 2008
@@ -130,6 +130,7 @@
         c = dict[symbol]
         if c.has_key('all') and c.has_key(arch):
             c[arch] = value
+            # TODO: convert all to other arches
         if c.has_key('all'):
             c['all'] = value
         else:
@@ -142,7 +143,8 @@
         l = "%s %s" % (symbol, s.strip())
         del dict[symbol]
     else:
-        l = "%s %s=%s" % (symbol, arch, value)
+        # new symbol gets by default assigned to all
+        l = "%s all=%s" % (symbol, value)
 
     # blacklist
     # TODO: use some list here instead
@@ -152,6 +154,9 @@
 f.close()
 
 # print out remaining items from old dictionary
+print "#"
+print "# Nonexistent symbols"
+print "#"
 for symbol in dict.keys():
     s = ''
     c = dict[symbol]
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/kernel-config-update.py?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list