1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

makefiles: additional dependency of ELFFILE on LD_SCRIPTS

The additional dependency of the ELFFILE variable on a LD_SCRIPTS variable allows to define rules for the generation of the used ld files from configurable LD templates.
This commit is contained in:
Gunar Schorcht 2022-12-31 15:29:06 +01:00
parent ca3b259add
commit d000e19754

View File

@ -731,7 +731,7 @@ else
link: ..compiler-check ..build-message $(BASELIBS) $(ARCHIVES) ..module-check
endif # RIOTNOLINK
$(ELFFILE): $(BASELIBS) $(ARCHIVES)
$(ELFFILE): $(BASELIBS) $(ARCHIVES) $(LD_SCRIPTS)
$(Q)$(_LINK) -o $@
.PHONY: $(APPLICATION_MODULE).module