Merge pull request #8495 from bridadan/patch_add_linker_line

Adding file type for linker script arg in make script
pull/8515/head
Cruz Monrreal 2018-10-23 09:09:09 -05:00 committed by GitHub
commit e2298a79e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -531,7 +531,7 @@ def build_project(src_paths, build_path, target, toolchain_name,
# Change linker script if specified # Change linker script if specified
if linker_script is not None: if linker_script is not None:
resources.add_file_ref(linker_script, linker_script) resources.add_file_ref(FileType.LD_SCRIPT, linker_script, linker_script)
if not resources.get_file_refs(FileType.LD_SCRIPT): if not resources.get_file_refs(FileType.LD_SCRIPT):
raise NotSupportedException("No Linker Script found") raise NotSupportedException("No Linker Script found")