Skip to content
Snippets Groups Projects
Unverified Commit 79d4be75 authored by Wilson Snyder's avatar Wilson Snyder Committed by GitHub
Browse files

Makefile: Fix `verilator` variable (#427)

parent 7c5ffad4
No related branches found
No related tags found
No related merge requests found
...@@ -34,7 +34,7 @@ BOARD ?= genesys2 ...@@ -34,7 +34,7 @@ BOARD ?= genesys2
mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST))) mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST)))
root-dir := $(dir $(mkfile_path)) 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) ifeq ($(support_verilator_4), 0)
verilator_threads := 2 verilator_threads := 2
endif endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment