1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-21 21:22:31 +03:00

Allow using custom linker scripts (#7078)

This commit is contained in:
Valerii Koval
2020-02-13 00:30:26 +02:00
committed by GitHub
parent 11ae243ecf
commit 5efdc7762a

View File

@ -264,6 +264,9 @@ app_ld = env.Command(
"Generating LD script $TARGET"))
env.Depends("$BUILD_DIR/$PROGNAME$PROGSUFFIX", app_ld)
if not env.BoardConfig().get("build.ldscript", ""):
env.Replace(LDSCRIPT_PATH=env.BoardConfig().get("build.arduino.ldscript", ""))
#
# Dynamic core_version.h for staging builds
#