mirror of https://github.com/ARMmbed/mbed-os.git
Make files call the linker from the build dir, so correct the path
parent
2a080a0840
commit
80b0a4cbd8
|
|
@ -272,7 +272,7 @@ class Arm(Makefile):
|
|||
if self.resources.linker_script:
|
||||
sct_file = self.resources.get_file_refs(FileType.LD_SCRIPT)[-1]
|
||||
new_script = self.toolchain.correct_scatter_shebang(
|
||||
sct_file, dirname(sct_file.name)
|
||||
sct_file, join("..", dirname(sct_file.name))
|
||||
)
|
||||
if new_script is not sct_file:
|
||||
self.resources.add_file_ref(
|
||||
|
|
|
|||
Loading…
Reference in New Issue