mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-18 10:30:45 +00:00
Makefile: fix
This commit is contained in:
parent
7d9ba37fa0
commit
0cd55e1d7c
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -150,7 +150,7 @@ YOSYS_VER := 0.43+3
|
||||||
# will have this file in its unexpanded form tough, in which case we fall
|
# will have this file in its unexpanded form tough, in which case we fall
|
||||||
# back to calling git directly.
|
# back to calling git directly.
|
||||||
TARBALL_GIT_REV := $(shell cat $(YOSYS_SRC)/.gitcommit)
|
TARBALL_GIT_REV := $(shell cat $(YOSYS_SRC)/.gitcommit)
|
||||||
ifneq ($(findstring "Format:",$(TARBALL_GIT_REV)),)
|
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 GIT_DIR=$(YOSYS_SRC)/.git git rev-parse --short=9 HEAD || echo UNKNOWN)
|
||||||
else
|
else
|
||||||
GIT_REV := $(TARBALL_GIT_REV)
|
GIT_REV := $(TARBALL_GIT_REV)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue