From d000e19754edaf3b28ae9659bf9fdb494c5119a6 Mon Sep 17 00:00:00 2001 From: Gunar Schorcht Date: Sat, 31 Dec 2022 15:29:06 +0100 Subject: [PATCH] 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. --- Makefile.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.include b/Makefile.include index 546b8485cb..72feff3f24 100644 --- a/Makefile.include +++ b/Makefile.include @@ -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