forked from espressif/arduino-esp32
fix py script
This commit is contained in:
@ -24,7 +24,7 @@ http://arduino.cc/en/Reference/HomePage
|
||||
|
||||
# Extends: https://github.com/platformio/platform-espressif32/blob/develop/builder/main.py
|
||||
|
||||
from os.path import abspath, isdir, isfile, join
|
||||
from os.path import abspath, isdir, isfile, join, basename
|
||||
|
||||
from SCons.Script import DefaultEnvironment
|
||||
|
||||
@ -100,7 +100,7 @@ env.Append(
|
||||
"-u", "newlib_include_syscalls_impl",
|
||||
"-u", "newlib_include_pthread_impl",
|
||||
"-u", "__cxa_guard_dummy",
|
||||
"-Wl,-Map=" + os.path.join("$BUILD_DIR", os.path.basename(env.subst("${PROJECT_DIR}.map")))
|
||||
"-Wl,-Map=" + join("$BUILD_DIR", basename(env.subst("${PROJECT_DIR}.map")))
|
||||
],
|
||||
|
||||
CPPPATH=[
|
||||
|
@ -24,7 +24,7 @@ http://arduino.cc/en/Reference/HomePage
|
||||
|
||||
# Extends: https://github.com/platformio/platform-espressif32/blob/develop/builder/main.py
|
||||
|
||||
from os.path import abspath, isdir, isfile, join
|
||||
from os.path import abspath, isdir, isfile, join, basename
|
||||
|
||||
from SCons.Script import DefaultEnvironment
|
||||
|
||||
@ -95,7 +95,7 @@ env.Append(
|
||||
"-u", "newlib_include_syscalls_impl",
|
||||
"-u", "newlib_include_pthread_impl",
|
||||
"-u", "__cxa_guard_dummy",
|
||||
"-Wl,-Map=" + os.path.join("$BUILD_DIR", os.path.basename(env.subst("${PROJECT_DIR}.map")))
|
||||
"-Wl,-Map=" + join("$BUILD_DIR", basename(env.subst("${PROJECT_DIR}.map")))
|
||||
],
|
||||
|
||||
CPPPATH=[
|
||||
|
Reference in New Issue
Block a user