mk: Ensure that FIRRTL jar has updated timestamp
SBT does not replace $(ROCKETCHIP_DIR)/firrtl/utils/bin/firrtl.jar if
compilation produces the same results.
@@ -13,8 +13,9 @@ FIRRTL ?= java -Xmx2G -Xss8M -XX:MaxPermSize=256M -cp $(ROCKET_CLASSES):$(FIRRTL
$(FIRRTL_JAR): $(call lookup_scala_srcs, $(ROCKETCHIP_DIR)/firrtl/src/main/scala)
$(MAKE) -C $(ROCKETCHIP_DIR)/firrtl SBT="$(SBT)" root_dir=$(ROCKETCHIP_DIR)/firrtl build-scala
- mkdir -p $(ROCKETCHIP_DIR)/lib
- cp -p $(ROCKETCHIP_DIR)/firrtl/utils/bin/firrtl.jar $(FIRRTL_JAR)
+ mkdir -p $(dir $@)
+ cp -p $(ROCKETCHIP_DIR)/firrtl/utils/bin/firrtl.jar $@
+ touch $@
build_dir=$(sim_dir)/generated-src
testchip_dir = $(base_dir)/testchipip
