Skip to content

Commit 460e4e7

Browse files
author
Cruz Monrreal
authored
Merge pull request #9817 from kegilbert/artifact_name_export
Apply artifact_name configuration parameter to exported projects
2 parents e6caa12 + 22674a6 commit 460e4e7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/export/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,9 @@ def export_project(src_paths, export_path, target, ide, libraries_paths=None,
276276
if linker_script is not None:
277277
resources.linker_script = linker_script
278278

279+
if toolchain.config.name:
280+
name = toolchain.config.name
281+
279282
files, exporter = generate_project_files(resources, export_path,
280283
target, name, toolchain, ide,
281284
macros=macros)

0 commit comments

Comments
 (0)