From: Robert Jordens Date: Sun, 10 Nov 2013 11:25:08 +0000 (-0700) Subject: common.mak: drop the echo from the version tag finding, did not work here, use python -c X-Git-Tag: 24jan2021_ls180~2818 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=de87149c8c60c6792b6d5ecf43b77b68f932466f;p=litex.git common.mak: drop the echo from the version tag finding, did not work here, use python -c Signed-off-by: Robert Jordens --- diff --git a/software/common.mak b/software/common.mak index e58173f9..e5d8d135 100644 --- a/software/common.mak +++ b/software/common.mak @@ -18,7 +18,7 @@ LD_quiet = @echo " LD " $@ && $(TARGET_PREFIX)ld OBJCOPY_quiet = @echo " OBJCOPY " $@ && $(TARGET_PREFIX)objcopy RANLIB_quiet = @echo " RANLIB " $@ && $(TARGET_PREFIX)ranlib -GIT_ID:=$(shell echo -e "from misoclib.identifier.git import get_id\nprint(hex(get_id()), end='')" | python3) +GIT_ID:=$(shell python3 -c "from misoclib.identifier.git import get_id; print(hex(get_id()), end='')") ifeq ($(V),1) CC = $(CC_normal)