Merge pull request #10296 from jeromecoutant/PR_NOLINKER

Build script: add explicit console log in case of linker script error
pull/10309/head
Martin Kojtal 2019-04-03 14:30:16 +02:00 committed by GitHub
commit d1da622797
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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