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:
@ -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
|
||||
#
|
||||
|
Reference in New Issue
Block a user