This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] Make stringify.sed a dependency of ALL_EMULATION_SOURCES.
- From: John Darrington <john at darrington dot wattle dot id dot au>
- To: binutils at sourceware dot org
- Date: Tue, 13 Mar 2018 20:37:41 +0100
- Subject: [PATCH] Make stringify.sed a dependency of ALL_EMULATION_SOURCES.
- Authentication-results: sourceware.org; auth=none
* 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