allow sbt runMain from sbt subproject

This commit is contained in:
abejgonzalez
2019-03-08 18:20:42 -08:00
parent f45369365b
commit 30ef609fb8
2 changed files with 3 additions and 1 deletions

View File

@@ -61,7 +61,7 @@ CHISEL_ARGS ?=
$(FIRRTL_FILE) $(ANNO_FILE): $(SCALA_SOURCES) $(sim_dotf)
mkdir -p $(build_dir)
cd $(base_dir) && $(SBT) "runMain $(PROJECT).Generator $(CHISEL_ARGS) $(build_dir) $(PROJECT) $(MODEL) $(CFG_PROJECT) $(CONFIG)"
cd $(base_dir) && $(SBT) "project $(SBT_PROJECT)" "runMain $(PROJECT).Generator $(CHISEL_ARGS) $(build_dir) $(PROJECT) $(MODEL) $(CFG_PROJECT) $(CONFIG)"
#########################################################################################
# create verilog files rules and variables