Merge pull request #34 from seldridge/rocketchip-addons-build
build.scala uses space-delimited ROCKETCHIP_ADDONS
This commit is contained in:
commit
c080e82e92
@ -33,7 +33,7 @@ object BuildSettings extends Build {
|
|||||||
addons := {
|
addons := {
|
||||||
val a = sys.env.getOrElse("ROCKETCHIP_ADDONS", "")
|
val a = sys.env.getOrElse("ROCKETCHIP_ADDONS", "")
|
||||||
println(s"Using addons: $a")
|
println(s"Using addons: $a")
|
||||||
a.split(",")
|
a.split(" ")
|
||||||
},
|
},
|
||||||
unmanagedSourceDirectories in Compile ++= addons.value.map(baseDirectory.value / _ / "src/main/scala"),
|
unmanagedSourceDirectories in Compile ++= addons.value.map(baseDirectory.value / _ / "src/main/scala"),
|
||||||
mainClass in (Compile, run) := Some("rocketchip.TestGenerator"),
|
mainClass in (Compile, run) := Some("rocketchip.TestGenerator"),
|
||||||
|
Loading…
Reference in New Issue
Block a user