Fix scala-build for other non-firesim projects

This commit is contained in:
abejgonzalez 2023-05-31 12:06:31 -07:00
parent ee0ed548b1
commit 8aa3cfa6bc
1 changed files with 0 additions and 10 deletions

View File

@ -77,10 +77,6 @@ $(FIRESIM_MAIN_CP): $(SCALA_BUILDTOOL_DEPS) $(firesim_main_srcs) $(firesim_test_
@mkdir -p $(@D)
$(call run_sbt_assembly,$(FIRESIM_SBT_PROJECT),$(FIRESIM_MAIN_CP))
# If the target project is the main FireSim project, provide the test classpath
# as it defines the target configs and parameters for designs to elaborate.
ifneq ($(FIRESIM_SBT_PROJECT),$(TARGET_SBT_PROJECT))
target_srcs = $(foreach dir,$(TARGET_SOURCE_DIRS), \
$(call find_sources_in_dir, $(dir), 'src/main/scala'))
@ -91,12 +87,6 @@ $(TARGET_CP): $(target_srcs) | $(FIRESIM_MAIN_CP)
@mkdir -p $(@D)
$(call run_sbt_assembly,$(TARGET_SBT_PROJECT),$(TARGET_CP))
else
TARGET_CP :=
endif
.PHONY: firesim-main-classpath target-classpath
firesim-main-classpath: $(FIRESIM_MAIN_CP)
target-classpath: $(TARGET_CP)