summaryrefslogtreecommitdiff
path: root/payloads/libpayload/Makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/Makefile.mk')
-rw-r--r--payloads/libpayload/Makefile.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/Makefile.mk b/payloads/libpayload/Makefile.mk
index d5a9a817fc..6dd33e1197 100644
--- a/payloads/libpayload/Makefile.mk
+++ b/payloads/libpayload/Makefile.mk
@@ -115,7 +115,7 @@ $(obj)/%.a: $$(%-objs)
printf " AR $(subst $(CURDIR)/,,$(@))\n"
printf "create $@\n$(foreach objc,$(filter-out %.a,$^),addmod $(objc)\n)$(foreach lib,$(filter %.a,$^),addlib $(lib)\n)save\nend\n" | $(AR) -M
-$(obj)/libpayload.ldscript: arch/$(ARCHDIR-y)/libpayload.ldscript
+$(obj)/libpayload.ldscript: arch/$(ARCHDIR-y)/libpayload.ldscript $(obj)/libpayload-config.h
@printf " LDSCRIPT $@\n"
$(CC) $(CFLAGS) $(EXTRA_CFLAGS) -E -P -x assembler-with-cpp -undef -o $@ $<