Victor Oliveira
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
6 additions and
0 deletions
-
buildroot/share/PlatformIO/scripts/common-features-dependencies.py
|
|
@ -123,6 +123,12 @@ def install_features_dependencies(): |
|
|
|
proj.set("env:" + env["PIOENV"], "src_filter", [src_filter]) |
|
|
|
env.Replace(SRC_FILTER=src_filter) |
|
|
|
|
|
|
|
if 'lib_ignore' in FEATURE_DEPENDENCIES[feature]: |
|
|
|
print("Ignoring libs for %s... " % feature) |
|
|
|
lib_ignore = env.GetProjectOption("lib_ignore") + [FEATURE_DEPENDENCIES[feature]['lib_ignore']] |
|
|
|
proj = env.GetProjectConfig() |
|
|
|
proj.set("env:" + env["PIOENV"], "lib_ignore", lib_ignore) |
|
|
|
|
|
|
|
# search the current compiler, considering the OS |
|
|
|
def search_compiler(): |
|
|
|
if env['PLATFORM'] == 'win32': |
|
|
|