Skip to content

Commit 0fb7476

Browse files
nuketsimonqhughes
authored andcommitted
Allow user overrides of LINKER_SCRIPT Make variable (#3594)
Makefile: Allow user overrides of LINKER_SCRIPT Make variable
1 parent 88b1f49 commit 0fb7476

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/export/makefile/Makefile.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ PROJECT := {{name}}
5555
{% endfor %}
5656
LIBRARY_PATHS :={% for p in library_paths %} {{user_library_flag}}{{p}} {% endfor %}
5757
LIBRARIES :={% for lib in libraries %} {{lib}} {% endfor %}
58-
LINKER_SCRIPT := {{linker_script}}
58+
LINKER_SCRIPT ?= {{linker_script}}
5959
{%- block additional_variables -%}{% endblock %}
6060

6161
# Objects and Paths

0 commit comments

Comments
 (0)