mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-31 02:27:13 +02:00
Cleanup whitespaces
This commit is contained in:
@ -7,7 +7,7 @@ except ImportError:
|
|||||||
import sys
|
import sys
|
||||||
for _path in sys.path:
|
for _path in sys.path:
|
||||||
if "platformio" in _path:
|
if "platformio" in _path:
|
||||||
sys.path.insert(0, _path[:_path.rfind("platformio")-1])
|
sys.path.insert(0, _path[:_path.rfind("platformio") - 1])
|
||||||
break
|
break
|
||||||
from platformio import util
|
from platformio import util
|
||||||
|
|
||||||
@ -92,7 +92,7 @@ if "BOARD" in env:
|
|||||||
"${BOARD_OPTIONS['build']['ldscript']}")]
|
"${BOARD_OPTIONS['build']['ldscript']}")]
|
||||||
)
|
)
|
||||||
if "extra_flags" in env.get("BOARD_OPTIONS", {}).get("build", {}):
|
if "extra_flags" in env.get("BOARD_OPTIONS", {}).get("build", {}):
|
||||||
env.MergeFlags(env.subst("${BOARD_OPTIONS['build']['extra_flags']}"))
|
env.MergeFlags(env.subst("${BOARD_OPTIONS['build']['extra_flags']}"))
|
||||||
|
|
||||||
if "IGNORE_LIBS" in env:
|
if "IGNORE_LIBS" in env:
|
||||||
env['IGNORE_LIBS'] = [l.strip() for l in env['IGNORE_LIBS'].split(",")]
|
env['IGNORE_LIBS'] = [l.strip() for l in env['IGNORE_LIBS'].split(",")]
|
||||||
|
Reference in New Issue
Block a user