mirror of
https://github.com/openhwgroup/cva6.git
synced 2025-04-22 05:07:21 -04:00
Makefile: Fix verilator
variable (#427)
Signed-off-by: Wilson Snyder <wsnyder@wsnyder.org>
This commit is contained in:
parent
7c5ffad467
commit
79d4be758c
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -34,7 +34,7 @@ BOARD ?= genesys2
|
|||
mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST)))
|
||||
root-dir := $(dir $(mkfile_path))
|
||||
|
||||
support_verilator_4 := $(shell (verilator --version | grep '4\.') &> /dev/null; echo $$?)
|
||||
support_verilator_4 := $(shell ($(verilator) --version | grep '4\.') &> /dev/null; echo $$?)
|
||||
ifeq ($(support_verilator_4), 0)
|
||||
verilator_threads := 2
|
||||
endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue