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 similarity index 100% rename from yosys-config.in rename to misc/yosys-config.in