projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31ec33d
)
common.mak: drop the echo from the version tag finding, did not work here, use python -c
author
Robert Jordens
<jordens@gmail.com>
Sun, 10 Nov 2013 11:25:08 +0000
(
04:25
-0700)
committer
Sebastien Bourdeauducq
<sebastien@milkymist.org>
Sun, 10 Nov 2013 12:17:37 +0000
(13:17 +0100)
Signed-off-by: Robert Jordens <jordens@gmail.com>
software/common.mak
patch
|
blob
|
history
diff --git
a/software/common.mak
b/software/common.mak
index e58173f9d5be3a6bb0658b45f7448195a8e89124..e5d8d135b77c2f847a8dc7b95346471fbcb2ea82 100644
(file)
--- 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)