Use BoolVariable in target/component/advanced options.

This commit is contained in:
Elliott Sales de Andrade
2017-09-25 00:04:49 -04:00
parent f9e463bce2
commit ffab67b8da
14 changed files with 44 additions and 44 deletions

View File

@@ -6,6 +6,6 @@ def can_build(platform):
def configure(env):
# Tools only, disabled for non-tools
# TODO: Find a cleaner way to achieve that
if (env["tools"] == "no"):
if not env['tools']:
env["module_etc_enabled"] = "no"
env.disabled_modules.append("etc")