diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2021-10-14 15:48:09 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2021-10-14 15:48:09 +0200 |
commit | 0559b84f812629c0d92bc390f43024f79b07341c (patch) | |
tree | 9212cd4b3df3dce94decfcff14e799c2cee87e60 /lib/kconfig.py | |
parent | 8371ea47864deafa99dfc44dea703f0254f681c3 (diff) |
kconfig: properly evaluate conditions
Diffstat (limited to 'lib/kconfig.py')
-rw-r--r-- | lib/kconfig.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kconfig.py b/lib/kconfig.py index 3215dad..f186204 100644 --- a/lib/kconfig.py +++ b/lib/kconfig.py @@ -423,7 +423,7 @@ class KConfig: and symbol.ranges ): for min_val, max_val, condition in symbol.ranges: - if condition.tri_value: + if kconfiglib.expr_value(condition): min_val = int(min_val.str_value, 0) max_val = int(max_val.str_value, 0) step_size = (max_val - min_val) // 8 |