From 3c1dac8c68e9b11935f419db514d341adcc89ec5 Mon Sep 17 00:00:00 2001 From: Jim Lawson Date: Thu, 26 Jan 2017 11:11:14 -0800 Subject: [PATCH] Match chisel3 userootunmanageddir - use RootProject/lib as unmanagedBase. (#526) This anticipates ucb-bar/chisel3#448. When rocket-chip uses that version of chisel3, the extra copy to chisel3/lib may be removed. --- Makefrag | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefrag b/Makefrag index b613ae51..dd0bd8a6 100644 --- a/Makefrag +++ b/Makefrag @@ -23,6 +23,9 @@ FIRRTL ?= java -Xmx2G -Xss8M -XX:MaxPermSize=256M -cp $(FIRRTL_JAR) firrtl.Drive $(FIRRTL_JAR): $(shell find $(base_dir)/firrtl/src/main/scala -iname "*.scala") $(MAKE) -C $(base_dir)/firrtl SBT="$(SBT)" root_dir=$(base_dir)/firrtl build-scala touch $(FIRRTL_JAR) + mkdir -p $(base_dir)/lib + cp -p $(FIRRTL_JAR) $(base_dir)/lib +# When chisel3 pr 448 is merged, the following extraneous copy may be removed. mkdir -p $(base_dir)/chisel3/lib cp -p $(FIRRTL_JAR) $(base_dir)/chisel3/lib