From 026b94a6f10525be7f3f8d354f4b9889aacef605 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Martin=20Schm=C3=B6lzer?= Date: Sun, 18 Jan 2015 16:09:42 +0100 Subject: [PATCH] Add "echo-yosys-ver" and "echo-git-rev" Makefile targets. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit These Makefile targets simply echo the corresponding Makefile variable, simplifying package build scripts. Signed-off-by: Martin Schmölzer --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.30.2