1
0

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:
Andrew Waterman 2015-09-03 17:55:31 -07:00
commit d08b75c472

View File

@ -18,7 +18,7 @@ default_submodules = . junctions uncore hardfloat rocket zscale
chisel_srcs = $(addprefix $(base_dir)/,$(addsuffix /$(src_path)/*.scala,$(default_submodules)))
disasm := 2>
which_disasm := $(shell which spike-dasm)
which_disasm := $(shell which spike-dasm 2> /dev/null)
ifneq ($(which_disasm),)
disasm := 3>&1 1>&2 2>&3 | $(which_disasm) $(DISASM_EXTENSION) >
endif