diff options
Diffstat (limited to 'allmodconfig.py')
| -rwxr-xr-x | allmodconfig.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/allmodconfig.py b/allmodconfig.py index b8f792a..a7804b3 100755 --- a/allmodconfig.py +++ b/allmodconfig.py @@ -25,7 +25,9 @@ def main(): BOOL = kconfiglib.BOOL TRISTATE = kconfiglib.TRISTATE - for sym in kconf.defined_syms: + # The set() speeds things up for projects that use multiple definition + # locations a lot + for sym in set(kconf.defined_syms): if sym.orig_type == BOOL: # 'bool' choice symbols get their default value, as determined by # e.g. 'default's on the choice |
