Skip to content

Commit

Permalink
common.mak: drop the echo from the version tag finding, did not work …
Browse files Browse the repository at this point in the history
…here, use python -c

Signed-off-by: Robert Jordens <jordens@gmail.com>
  • Loading branch information
jordens authored and Sebastien Bourdeauducq committed Nov 10, 2013
1 parent 31ec33d commit de87149
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion software/common.mak
Expand Up @@ -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)
Expand Down

0 comments on commit de87149

Please sign in to comment.