1
0

Bind some Make vars early to avoid redundant evaluation

This commit is contained in:
Andrew Waterman 2016-10-28 11:56:13 -07:00
parent f3c726033a
commit f8bb67ab8f

View File

@ -26,9 +26,9 @@ $(FIRRTL_JAR): $(shell find $(base_dir)/firrtl/src/main/scala -iname "*.scala")
mkdir -p $(base_dir)/chisel3/lib mkdir -p $(base_dir)/chisel3/lib
cp -p $(FIRRTL_JAR) $(base_dir)/chisel3/lib cp -p $(FIRRTL_JAR) $(base_dir)/chisel3/lib
src_path = src/main/scala src_path := src/main/scala
default_submodules = . hardfloat context-dependent-environments chisel3 default_submodules := . hardfloat context-dependent-environments chisel3
chisel_srcs = $(foreach submodule,$(default_submodules) $(ROCKETCHIP_ADDONS),$(shell find $(base_dir)/$(submodule)/$(src_path) -name "*.scala")) chisel_srcs := $(foreach submodule,$(default_submodules) $(ROCKETCHIP_ADDONS),$(shell find $(base_dir)/$(submodule)/$(src_path) -name "*.scala"))
disasm := 2> disasm := 2>
which_disasm := $(shell which spike-dasm 2> /dev/null) which_disasm := $(shell which spike-dasm 2> /dev/null)