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.
This commit is contained in:
parent
0fe2899c74
commit
3c1dac8c68
3
Makefrag
3
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")
|
$(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
|
$(MAKE) -C $(base_dir)/firrtl SBT="$(SBT)" root_dir=$(base_dir)/firrtl build-scala
|
||||||
touch $(FIRRTL_JAR)
|
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
|
mkdir -p $(base_dir)/chisel3/lib
|
||||||
cp -p $(FIRRTL_JAR) $(base_dir)/chisel3/lib
|
cp -p $(FIRRTL_JAR) $(base_dir)/chisel3/lib
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user