mirror of https://github.com/ARMmbed/mbed-os.git
Throw a warning when multiple scatter files are found and show their location
parent
728a815b31
commit
8949f8b036
|
@ -369,6 +369,8 @@ class mbedToolchain:
|
|||
resources.lib_dirs.add(root)
|
||||
|
||||
elif ext == self.LINKER_EXT:
|
||||
if resources.linker_script is not None:
|
||||
self.info("Warning: Multiple linker scripts detected: %s -> %s" % (resources.linker_script, file_path))
|
||||
resources.linker_script = file_path
|
||||
|
||||
elif ext == '.lib':
|
||||
|
|
Loading…
Reference in New Issue