[PATCH] Make stringify.sed a dependency of ALL_EMULATION_SOURCES.

John Darrington john@darrington.wattle.id.au
Tue Mar 13 20:03:00 GMT 2018


* ld/Makefile.am ld/Makefile.in: ALL_EMULATION_SOURCES add dependency stringify.sed.
  Otherwise out of source builds fail.
---
 ld/Makefile.am | 2 +-
 ld/Makefile.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ld/Makefile.am b/ld/Makefile.am
index 23bef64b45..f61f8e8ba7 100644
--- a/ld/Makefile.am
+++ b/ld/Makefile.am
@@ -694,7 +694,7 @@ run-genscripts:
 
 .PHONY: run-genscripts
 
-$(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES):
+$(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES): stringify.sed
 	base=`echo $@ | sed -e 's,e\(.*\).c,\1,'`; \
 	$(MAKE) run-genscripts "script_target=$$base" "script_tdirname=tdir_$$base"
 
diff --git a/ld/Makefile.in b/ld/Makefile.in
index efc79493cc..aba8d3ecec 100644
--- a/ld/Makefile.in
+++ b/ld/Makefile.in
@@ -2259,7 +2259,7 @@ run-genscripts:
 
 .PHONY: run-genscripts
 
-$(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES):
+$(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES): stringify.sed
 	base=`echo $@ | sed -e 's,e\(.*\).c,\1,'`; \
 	$(MAKE) run-genscripts "script_target=$$base" "script_tdirname=tdir_$$base"
 
-- 
2.11.0



More information about the Binutils mailing list