mirror of
https://github.com/YosysHQ/yosys
synced 2026-07-15 11:45:41 +00:00
Fix commit to be preqorsor commit
This commit is contained in:
parent
1990c1fac5
commit
20d637697b
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -191,7 +191,7 @@ CXXFLAGS += -DYOSYS_VER=\\"$(YOSYS_VER)\\" \
|
|||
# back to calling git directly.
|
||||
TARBALL_GIT_REV := $(shell cat $(YOSYS_SRC)/.gitcommit)
|
||||
ifneq ($(findstring Format:,$(TARBALL_GIT_REV)),)
|
||||
GIT_REV := $(shell GIT_DIR=$(YOSYS_SRC)/.git git rev-parse --short=9 HEAD || echo UNKNOWN)
|
||||
GIT_REV := $(shell cd .. && git rev-parse --short=9 HEAD || echo UNKNOWN)
|
||||
else
|
||||
GIT_REV := $(TARBALL_GIT_REV)
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue