Author: waldi
Date: Fri Mar 14 12:52:09 2008
New Revision: 10844

Log:
lib/kconfigeditor/kconfig/menu/all.py: Also see drivers/$ARCH as arch-specific.


Modified:
   people/waldi/utils/kconfigeditor2/lib/kconfigeditor/kconfig/menu/all.py

Modified: 
people/waldi/utils/kconfigeditor2/lib/kconfigeditor/kconfig/menu/all.py
==============================================================================
--- people/waldi/utils/kconfigeditor2/lib/kconfigeditor/kconfig/menu/all.py     
(original)
+++ people/waldi/utils/kconfigeditor2/lib/kconfigeditor/kconfig/menu/all.py     
Fri Mar 14 12:52:09 2008
@@ -14,7 +14,8 @@
 
             while work:
                 filename = work.pop(0)
-                if filename.startswith('arch'):
+                filename_list = filename.split('/')
+                if filename_list[0] == 'arch' or filename_list[0] == 'drivers' 
and filename_list[1] in arches:
                     self.filenames_arch[arch].append(filename)
                 else:
                     self.filenames_all.append(filename)

_______________________________________________
Kernel-svn-changes mailing list
Kernel-svn-changes@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/kernel-svn-changes

Reply via email to