Skip to content

Commit

Permalink
Makefile: Fix verilator variable (openhwgroup#427)
Browse files Browse the repository at this point in the history
Signed-off-by: Wilson Snyder <[email protected]>
  • Loading branch information
wsnyder authored May 15, 2020
1 parent 7c5ffad commit 79d4be7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 79d4be7

Please sign in to comment.