SOURCES: kernel-config-update.py - disable syms that are no longer...
glen
glen at pld-linux.org
Tue Feb 5 21:36:01 CET 2008
Author: glen Date: Tue Feb 5 20:36:01 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- disable syms that are no longer in .config
---- Files affected:
SOURCES:
kernel-config-update.py (1.15 -> 1.16)
---- Diffs:
================================================================
Index: SOURCES/kernel-config-update.py
diff -u SOURCES/kernel-config-update.py:1.15 SOURCES/kernel-config-update.py:1.16
--- SOURCES/kernel-config-update.py:1.15 Tue Feb 5 20:58:17 2008
+++ SOURCES/kernel-config-update.py Tue Feb 5 21:35:55 2008
@@ -193,17 +193,17 @@
# go over symbols which no longer present in .config
# and remove from our arch.
-# if not dotdict.has_key(symbol):
-# c = dict[symbol]
-# # if there's 'all' key, expand it to avalable arch list
-# if c.has_key('all'):
-# value = c['all']
-# for a in allarch:
-# if not c.has_key(a):
-# c[a] = value
-# del c['all']
-# if c.has_key(arch):
-# del c[arch]
+ if not dotdict.has_key(symbol):
+ c = dict[symbol]
+ # if there's 'all' key, expand it to available arch list
+ if c.has_key('all'):
+ value = c['all']
+ for a in allarch:
+ if not c.has_key(a):
+ c[a] = value
+ del c['all']
+ if c.has_key(arch):
+ del c[arch]
# blacklist
# TODO: use some list here instead
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/kernel-config-update.py?r1=1.15&r2=1.16&f=u
More information about the pld-cvs-commit
mailing list