From: Martin Schmölzer Date: Sun, 18 Jan 2015 15:09:42 +0000 (+0100) Subject: Add "echo-yosys-ver" and "echo-git-rev" Makefile targets. X-Git-Tag: yosys-0.5~83^2^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=026b94a6f10525be7f3f8d354f4b9889aacef605;p=yosys.git Add "echo-yosys-ver" and "echo-git-rev" Makefile targets. These Makefile targets simply echo the corresponding Makefile variable, simplifying package build scripts. Signed-off-by: Martin Schmölzer --- diff --git a/Makefile b/Makefile index a1e2cb76b..278ad8811 100644 --- a/Makefile +++ b/Makefile @@ -385,6 +385,12 @@ config-gprof: clean config-sudo: echo "INSTALL_SUDO := sudo" >> Makefile.conf +echo-yosys-ver: + @echo "$(YOSYS_VER)" + +echo-git-rev: + @echo "$(GIT_REV)" + -include libs/*/*.d -include frontends/*/*.d -include passes/*/*.d