summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVijay Kumar Banerjee <vijay@rtems.org>2021-03-09 11:10:21 -0700
committerVijay Kumar Banerjee <vijay@rtems.org>2021-03-10 11:09:17 -0700
commit2f9a68bfb13313456034932a08c6d06ebbf151b3 (patch)
tree9386f8de02d0583b854ccea3815c8294ab4b32a7
parent7: Update tool chain (diff)
downloadrtems-source-builder-2f9a68bfb13313456034932a08c6d06ebbf151b3.tar.bz2
sb/config.py: Fix relational operator
Close #4319
-rw-r--r--source-builder/sb/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source-builder/sb/config.py b/source-builder/sb/config.py
index cd0bf94..d3ba6cd 100644
--- a/source-builder/sb/config.py
+++ b/source-builder/sb/config.py
@@ -989,7 +989,7 @@ class file:
else:
self._error('invalid if bool operator: ' + reduce(add, ls, ''))
else:
- if len(ifls) > 3:
+ if len(ifls) >= 3:
for op in ['==', '!=', '>=', '=>', '=<', '<=', '>', '<']:
ops = s.split(op)
if len(ops) == 2: