summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2022-02-22 16:27:46 +0100
committerDaniel Friesel <daniel.friesel@uos.de>2022-02-22 16:27:46 +0100
commitf71b18665993fb0f902ee1057a9dfe6bec16303a (patch)
treec8c16d1689f5c2be5cb7f48ac61a0a470cff85ce
parent1540e2f5cf19578e9f25a52bc490960881d0ae99 (diff)
kconfig: do not add choices to param dict if DFATOOL_KCONF_WITH_CHOICE_NODES=0
-rw-r--r--lib/loader/kconfig.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/loader/kconfig.py b/lib/loader/kconfig.py
index 58bc337..48f89bc 100644
--- a/lib/loader/kconfig.py
+++ b/lib/loader/kconfig.py
@@ -71,6 +71,7 @@ class KConfigAttributes:
self.param_names = self.symbol_names + self.choice_names
else:
self.param_names = self.symbol_names
+ self.choice_names = list()
self.data = list()
self.configs = list()