mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
Revert "build: Fix "set-value-enabled-by""
This reverts commit a616d26d6d.
The change was accidentally submitted and relates to a different branch.
This commit is contained in:
committed by
Amar Takhar
parent
98f2ae3449
commit
bd9f5c1eb0
6
wscript
6
wscript
@@ -1071,9 +1071,9 @@ class OptionItem(Item):
|
||||
return arg
|
||||
|
||||
def _set_value_enabled_by(self, conf, cic, value, arg):
|
||||
for pair in arg:
|
||||
if self._is_enabled(conf, conf.env.ENABLE, pair["enabled-by"]):
|
||||
return pair["value"]
|
||||
for value_enabled_by in arg:
|
||||
if _is_enabled(conf.env.ENABLE, value_enabled_by["enabled-by"]):
|
||||
return value_enabled_by["value"]
|
||||
return None
|
||||
|
||||
def _split(self, conf, cic, value, arg):
|
||||
|
||||
Reference in New Issue
Block a user