summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--misc/yosys-config.in (renamed from yosys-config.in)0
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 75af4465..c2d1ac0b 100644
--- a/Makefile
+++ b/Makefile
@@ -224,9 +224,9 @@ kernel/version_$(GIT_REV).cc: Makefile
$(Q) echo "namespace Yosys { extern const char *yosys_version_str; const char *yosys_version_str=\"Yosys $(YOSYS_VER) (git sha1 $(GIT_REV), $(notdir $(CXX)) ` \
$(CXX) --version | tr ' ()' '\n' | grep '^[0-9]' | head -n1` $(filter -f% -m% -O% -DNDEBUG,$(CXXFLAGS)))\"; }" > kernel/version_$(GIT_REV).cc
-yosys-config: yosys-config.in
+yosys-config: misc/yosys-config.in
$(P) $(SED) -e 's,@CXX@,$(CXX),;' -e 's,@CXXFLAGS@,$(CXXFLAGS),;' -e 's,@LDFLAGS@,$(LDFLAGS),;' -e 's,@LDLIBS@,$(LDLIBS),;' \
- -e 's,@BINDIR@,$(DESTDIR)/bin,;' -e 's,@DATDIR@,$(DESTDIR)/share/yosys,;' < yosys-config.in > yosys-config
+ -e 's,@BINDIR@,$(DESTDIR)/bin,;' -e 's,@DATDIR@,$(DESTDIR)/share/yosys,;' < misc/yosys-config.in > yosys-config
$(Q) chmod +x yosys-config
abc/abc-$(ABCREV)$(EXE):
diff --git a/yosys-config.in b/misc/yosys-config.in
index 8f8dd06c..8f8dd06c 100644
--- a/yosys-config.in
+++ b/misc/yosys-config.in