1
0

Merge pull request #34 from seldridge/rocketchip-addons-build

build.scala uses space-delimited ROCKETCHIP_ADDONS
This commit is contained in:
Colin Schmidt 2015-12-09 11:57:19 -08:00
commit c080e82e92

View File

@ -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"),