[kernel-team] 33/86: lib/kconfigeditor/kconfig/menu/all.py: Also see drivers/$ARCH as arch-specific.

debian-kernel at lists.debian.org debian-kernel at lists.debian.org
Mon Dec 21 00:34:55 UTC 2015


This is an automated email from the git hooks/post-receive script.

benh pushed a commit to branch benh/kconfigeditor2
in repository kernel-team.

commit 6e02f86f156d27b8fde5cc27428a15e15b09e98c
Author: Bastian Blank <waldi at debian.org>
Date:   Fri Mar 14 12:52:09 2008 +0000

    lib/kconfigeditor/kconfig/menu/all.py: Also see drivers/$ARCH as arch-specific.
    
    svn path=/people/waldi/utils/kconfigeditor2/; revision=10844
---
 utils/kconfigeditor2/lib/kconfigeditor/kconfig/menu/all.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/utils/kconfigeditor2/lib/kconfigeditor/kconfig/menu/all.py b/utils/kconfigeditor2/lib/kconfigeditor/kconfig/menu/all.py
index afffa8c..2404629 100644
--- a/utils/kconfigeditor2/lib/kconfigeditor/kconfig/menu/all.py
+++ b/utils/kconfigeditor2/lib/kconfigeditor/kconfig/menu/all.py
@@ -14,7 +14,8 @@ class All(object):
 
             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)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/kernel-team.git



More information about the Kernel-svn-changes mailing list