Build script: add explicit console log in case of linker script error

pull/10296/head
jeromecoutant 2019-04-02 18:03:32 +02:00
parent d8dc981fd1
commit ab9890072d
1 changed files with 1 additions and 0 deletions

View File

@ -590,6 +590,7 @@ def build_project(src_paths, build_path, target, toolchain_name,
if linker_script is not None:
resources.add_file_ref(FileType.LD_SCRIPT, linker_script, linker_script)
if not resources.get_file_refs(FileType.LD_SCRIPT):
notify.info("No Linker Script found")
raise NotSupportedException("No Linker Script found")
# Compile Sources