1
0

build.scala uses space-delimited ROCKETCHIP_ADDONS

This commit is contained in:
Schuyler Eldridge 2015-12-09 14:17:16 -05:00
parent 91be080526
commit e50e4d4c84

View File

@ -33,7 +33,7 @@ object BuildSettings extends Build {
addons := {
val a = sys.env.getOrElse("ROCKETCHIP_ADDONS", "")
println(s"Using addons: $a")
a.split(",")
a.split(" ")
},
unmanagedSourceDirectories in Compile ++= addons.value.map(baseDirectory.value / _ / "src/main/scala"),
mainClass in (Compile, run) := Some("rocketchip.TestGenerator"),