mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #12666 from dhebbeker/fix/revert-pull-12646
Makefile: render compatible with some GNU make versions (revert #12646)pull/12672/head
commit
539cf3fa63
|
@ -135,7 +135,7 @@ $(PROJECT).link_script{{link_script_ext}}: $(LINKER_SCRIPT)
|
|||
|
||||
{% block target_project_elf %}
|
||||
$(PROJECT).elf: $(OBJECTS) $(SYS_OBJECTS) {% if pp_cmd -%} $(PROJECT).link_script{{link_script_ext}} {% else%} $(LINKER_SCRIPT) {% endif %}
|
||||
$(file > .link_options.txt,$(filter %.o, $^)
|
||||
+@echo "$(filter %.o, $^)" > .link_options.txt
|
||||
+@echo "link: $(notdir $@)"
|
||||
@$(LD) $(LD_FLAGS) {{link_script_option}} $(filter-out %.o, $^) $(LIBRARY_PATHS) --output $@ {{response_option}}.link_options.txt $(LIBRARIES) $(LD_SYS_LIBS)
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in New Issue