Update preflight-checks.py

This commit is contained in:
InsanityAutomation
2021-08-05 22:18:48 -04:00
parent 0663c5a372
commit aa6e7b0300
@@ -61,10 +61,10 @@ def sanity_check_target():
config = env.GetProjectConfig()
result = check_envs("env:"+build_env, board_envs, config)
if not result:
err = "Error: Build environment '%s' is incompatible with %s. Use one of these: %s" % \
( build_env, motherboard, ", ".join([ e[4:] for e in board_envs if e.startswith("env:") ]) )
raise SystemExit(err)
#if not result:
#err = "Error: Build environment '%s' is incompatible with %s. Use one of these: %s" % \
# ( build_env, motherboard, ", ".join([ e[4:] for e in board_envs if e.startswith("env:") ]) )
#raise SystemExit(err)
#
# Check for Config files in two common incorrect places