mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 10:07:14 +02:00
Fix "mbed" framework // Resolve #122
This commit is contained in:
@ -125,8 +125,7 @@ for lib_path in eixdata.get("CPPPATH"):
|
|||||||
env.Append(
|
env.Append(
|
||||||
LIBPATH=[join(variant_dir, lib_path)
|
LIBPATH=[join(variant_dir, lib_path)
|
||||||
for lib_path in eixdata.get("LIBPATH", [])
|
for lib_path in eixdata.get("LIBPATH", [])
|
||||||
if lib_path.startswith("mbed")],
|
if lib_path.startswith("mbed")]
|
||||||
LIBS=["mbed"]
|
|
||||||
)
|
)
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -134,6 +133,7 @@ env.Append(
|
|||||||
#
|
#
|
||||||
|
|
||||||
libs = [l for l in eixdata.get("STDLIBS", []) if l not in env.get("LIBS")]
|
libs = [l for l in eixdata.get("STDLIBS", []) if l not in env.get("LIBS")]
|
||||||
|
libs.append("mbed")
|
||||||
|
|
||||||
libs.append(env.Library(
|
libs.append(env.Library(
|
||||||
join("$BUILD_DIR", "FrameworkMbed"),
|
join("$BUILD_DIR", "FrameworkMbed"),
|
||||||
|
Reference in New Issue
Block a user