From aa6e7b0300589c4b740eeaf19232ac77c2c66c9a Mon Sep 17 00:00:00 2001 From: InsanityAutomation Date: Thu, 5 Aug 2021 22:18:48 -0400 Subject: [PATCH] Update preflight-checks.py --- buildroot/share/PlatformIO/scripts/preflight-checks.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/buildroot/share/PlatformIO/scripts/preflight-checks.py b/buildroot/share/PlatformIO/scripts/preflight-checks.py index 27e5c9d70a..f28319524a 100644 --- a/buildroot/share/PlatformIO/scripts/preflight-checks.py +++ b/buildroot/share/PlatformIO/scripts/preflight-checks.py @@ -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