Merge pull request #15 from ucb-bar/fix_disasm_garbage
If you don't have spike-disasm in your path, your path is dumped
This commit is contained in:
commit
d08b75c472
2
Makefrag
2
Makefrag
@ -18,7 +18,7 @@ default_submodules = . junctions uncore hardfloat rocket zscale
|
|||||||
chisel_srcs = $(addprefix $(base_dir)/,$(addsuffix /$(src_path)/*.scala,$(default_submodules)))
|
chisel_srcs = $(addprefix $(base_dir)/,$(addsuffix /$(src_path)/*.scala,$(default_submodules)))
|
||||||
|
|
||||||
disasm := 2>
|
disasm := 2>
|
||||||
which_disasm := $(shell which spike-dasm)
|
which_disasm := $(shell which spike-dasm 2> /dev/null)
|
||||||
ifneq ($(which_disasm),)
|
ifneq ($(which_disasm),)
|
||||||
disasm := 3>&1 1>&2 2>&3 | $(which_disasm) $(DISASM_EXTENSION) >
|
disasm := 3>&1 1>&2 2>&3 | $(which_disasm) $(DISASM_EXTENSION) >
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user