mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-13 13:01:55 +03:00
build: place generated ld script into build directory (#5043)
arduino-builder 1.3.25 (shipped with Arduino 1.8.5) forces full recompilation when any file in the core directory is modified. Avoid full recompilation by placing generated ld script into build directory, not source directory. Also fix an issue where git version description would not be generated if there were spaces in build path.
This commit is contained in:
@ -1144,7 +1144,7 @@ def flash_size (size_bytes, display, optname, ld, desc, max_upload_size, spiffs_
|
||||
print("PROVIDE ( _SPIFFS_page = 0x%X );" % page)
|
||||
print("PROVIDE ( _SPIFFS_block = 0x%X );" % block)
|
||||
print("")
|
||||
print('INCLUDE "../ld/eagle.app.v6.common.ld"')
|
||||
print('INCLUDE "eagle.app.v6.common.ld"')
|
||||
|
||||
if ldgen:
|
||||
sys.stdout.close()
|
||||
|
@ -16,4 +16,4 @@ PROVIDE ( _SPIFFS_end = 0x411FB000 );
|
||||
PROVIDE ( _SPIFFS_page = 0x100 );
|
||||
PROVIDE ( _SPIFFS_block = 0x2000 );
|
||||
|
||||
INCLUDE "../ld/eagle.app.v6.common.ld"
|
||||
INCLUDE "eagle.app.v6.common.ld"
|
||||
|
@ -15,4 +15,4 @@ PROVIDE ( _SPIFFS_end = 0x402FB000 );
|
||||
PROVIDE ( _SPIFFS_page = 0x0 );
|
||||
PROVIDE ( _SPIFFS_block = 0x0 );
|
||||
|
||||
INCLUDE "../ld/eagle.app.v6.common.ld"
|
||||
INCLUDE "eagle.app.v6.common.ld"
|
||||
|
@ -16,4 +16,4 @@ PROVIDE ( _SPIFFS_end = 0x402FB000 );
|
||||
PROVIDE ( _SPIFFS_page = 0x100 );
|
||||
PROVIDE ( _SPIFFS_block = 0x1000 );
|
||||
|
||||
INCLUDE "../ld/eagle.app.v6.common.ld"
|
||||
INCLUDE "eagle.app.v6.common.ld"
|
||||
|
@ -16,4 +16,4 @@ PROVIDE ( _SPIFFS_end = 0x402FB000 );
|
||||
PROVIDE ( _SPIFFS_page = 0x100 );
|
||||
PROVIDE ( _SPIFFS_block = 0x1000 );
|
||||
|
||||
INCLUDE "../ld/eagle.app.v6.common.ld"
|
||||
INCLUDE "eagle.app.v6.common.ld"
|
||||
|
@ -16,4 +16,4 @@ PROVIDE ( _SPIFFS_end = 0x402FB000 );
|
||||
PROVIDE ( _SPIFFS_page = 0x100 );
|
||||
PROVIDE ( _SPIFFS_block = 0x1000 );
|
||||
|
||||
INCLUDE "../ld/eagle.app.v6.common.ld"
|
||||
INCLUDE "eagle.app.v6.common.ld"
|
||||
|
@ -16,4 +16,4 @@ PROVIDE ( _SPIFFS_end = 0x402FB000 );
|
||||
PROVIDE ( _SPIFFS_page = 0x100 );
|
||||
PROVIDE ( _SPIFFS_block = 0x1000 );
|
||||
|
||||
INCLUDE "../ld/eagle.app.v6.common.ld"
|
||||
INCLUDE "eagle.app.v6.common.ld"
|
||||
|
@ -16,4 +16,4 @@ PROVIDE ( _SPIFFS_end = 0x402FB000 );
|
||||
PROVIDE ( _SPIFFS_page = 0x100 );
|
||||
PROVIDE ( _SPIFFS_block = 0x1000 );
|
||||
|
||||
INCLUDE "../ld/eagle.app.v6.common.ld"
|
||||
INCLUDE "eagle.app.v6.common.ld"
|
||||
|
@ -16,4 +16,4 @@ PROVIDE ( _SPIFFS_end = 0x402FB000 );
|
||||
PROVIDE ( _SPIFFS_page = 0x100 );
|
||||
PROVIDE ( _SPIFFS_block = 0x2000 );
|
||||
|
||||
INCLUDE "../ld/eagle.app.v6.common.ld"
|
||||
INCLUDE "eagle.app.v6.common.ld"
|
||||
|
@ -16,4 +16,4 @@ PROVIDE ( _SPIFFS_end = 0x402FB000 );
|
||||
PROVIDE ( _SPIFFS_page = 0x100 );
|
||||
PROVIDE ( _SPIFFS_block = 0x1000 );
|
||||
|
||||
INCLUDE "../ld/eagle.app.v6.common.ld"
|
||||
INCLUDE "eagle.app.v6.common.ld"
|
||||
|
@ -16,4 +16,4 @@ PROVIDE ( _SPIFFS_end = 0x403FB000 );
|
||||
PROVIDE ( _SPIFFS_page = 0x100 );
|
||||
PROVIDE ( _SPIFFS_block = 0x2000 );
|
||||
|
||||
INCLUDE "../ld/eagle.app.v6.common.ld"
|
||||
INCLUDE "eagle.app.v6.common.ld"
|
||||
|
@ -16,4 +16,4 @@ PROVIDE ( _SPIFFS_end = 0x405FB000 );
|
||||
PROVIDE ( _SPIFFS_page = 0x100 );
|
||||
PROVIDE ( _SPIFFS_block = 0x2000 );
|
||||
|
||||
INCLUDE "../ld/eagle.app.v6.common.ld"
|
||||
INCLUDE "eagle.app.v6.common.ld"
|
||||
|
@ -17,4 +17,4 @@ PROVIDE ( _SPIFFS_end = 0x405FB000 );
|
||||
PROVIDE ( _SPIFFS_page = 0x100 );
|
||||
PROVIDE ( _SPIFFS_block = 0x2000 );
|
||||
|
||||
INCLUDE "../ld/eagle.app.v6.common.ld"
|
||||
INCLUDE "eagle.app.v6.common.ld"
|
||||
|
@ -17,4 +17,4 @@ PROVIDE ( _SPIFFS_end = 0x405FB000 );
|
||||
PROVIDE ( _SPIFFS_page = 0x100 );
|
||||
PROVIDE ( _SPIFFS_block = 0x2000 );
|
||||
|
||||
INCLUDE "../ld/eagle.app.v6.common.ld"
|
||||
INCLUDE "eagle.app.v6.common.ld"
|
||||
|
@ -15,4 +15,4 @@ PROVIDE ( _SPIFFS_end = 0x4027B000 );
|
||||
PROVIDE ( _SPIFFS_page = 0x0 );
|
||||
PROVIDE ( _SPIFFS_block = 0x0 );
|
||||
|
||||
INCLUDE "../ld/eagle.app.v6.common.ld"
|
||||
INCLUDE "eagle.app.v6.common.ld"
|
||||
|
@ -16,4 +16,4 @@ PROVIDE ( _SPIFFS_end = 0x4027B000 );
|
||||
PROVIDE ( _SPIFFS_page = 0x100 );
|
||||
PROVIDE ( _SPIFFS_block = 0x1000 );
|
||||
|
||||
INCLUDE "../ld/eagle.app.v6.common.ld"
|
||||
INCLUDE "eagle.app.v6.common.ld"
|
||||
|
@ -16,4 +16,4 @@ PROVIDE ( _SPIFFS_end = 0x4027B000 );
|
||||
PROVIDE ( _SPIFFS_page = 0x100 );
|
||||
PROVIDE ( _SPIFFS_block = 0x1000 );
|
||||
|
||||
INCLUDE "../ld/eagle.app.v6.common.ld"
|
||||
INCLUDE "eagle.app.v6.common.ld"
|
||||
|
@ -16,4 +16,4 @@ PROVIDE ( _SPIFFS_end = 0x4027B000 );
|
||||
PROVIDE ( _SPIFFS_page = 0x100 );
|
||||
PROVIDE ( _SPIFFS_block = 0x1000 );
|
||||
|
||||
INCLUDE "../ld/eagle.app.v6.common.ld"
|
||||
INCLUDE "eagle.app.v6.common.ld"
|
||||
|
@ -16,4 +16,4 @@ PROVIDE ( _SPIFFS_end = 0x409FB000 );
|
||||
PROVIDE ( _SPIFFS_page = 0x100 );
|
||||
PROVIDE ( _SPIFFS_block = 0x2000 );
|
||||
|
||||
INCLUDE "../ld/eagle.app.v6.common.ld"
|
||||
INCLUDE "eagle.app.v6.common.ld"
|
||||
|
Reference in New Issue
Block a user