summaryrefslogtreecommitdiff
path: root/kconfiglib.py
diff options
context:
space:
mode:
Diffstat (limited to 'kconfiglib.py')
-rw-r--r--kconfiglib.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/kconfiglib.py b/kconfiglib.py
index 1000be9..4a4e187 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -2968,6 +2968,9 @@ class Symbol(Item, _HasVisibility):
rec(s, True)
rec(self)
+ # Using cached deps from other symbols in the same choice might mean we
+ # get ourself in the result (harmless but unnecessary)
+ res.discard(self)
self.cached_deps = list(res)
return self.cached_deps