Rename "use_libs" env option to "lib_use"

This commit is contained in:
Ivan Kravets
2015-06-28 19:44:35 +03:00
parent 776a2027fb
commit ebdbf79868
5 changed files with 17 additions and 16 deletions

View File

@@ -40,9 +40,9 @@ commonvars.AddVariables(
("BUILD_FLAGS",),
("SRCBUILD_FLAGS",),
("SRC_FILTER",),
("LIB_IGNORE",),
("USE_LIBS",),
("LIB_DFCYCLIC",),
("LIB_IGNORE",),
("LIB_USE",),
# board options
("BOARD",),
@@ -118,8 +118,10 @@ if "BOARD" in env:
env.get("BOARD_OPTIONS", {}).get("platform")))
if "LIB_IGNORE" in env:
env['LIB_IGNORE'] = [l.strip() for l in env['LIB_IGNORE'].split(",")]
for opt in ("LIB_IGNORE", "LIB_USE"):
if opt not in env:
continue
env[opt] = [l.strip() for l in env[opt].split(",") if l.strip()]
env.PrependENVPath(
"PATH",