summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Lawson2017-01-24 09:19:33 -0800
committerJack Koenig2017-01-26 15:37:50 -0800
commit2a4d4f0ee9fc924ee9ff8a12c7a04a4c8e9a106b (patch)
treef41bc7b62eb61c74e1be6bbaa4886578aee93569
parent1d6f15a7e1eb61d301e0585c7be5292e2b34e5b7 (diff)
Change definition of root project to minimize potential confusion.
-rw-r--r--build.sbt4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.sbt b/build.sbt
index cfab7fbb..a00500a1 100644
--- a/build.sbt
+++ b/build.sbt
@@ -106,8 +106,8 @@ lazy val chiselFrontend = (project in file("chiselFrontend")).
settings(publishArtifact := false).
dependsOn(coreMacros)
-// Hack to avoid circular dependency on chisel.
-val root = Project("chisel", file("."))
+// This will always be the root project, even if we are a sub-project.
+lazy val root = RootProject(file("."))
lazy val chisel = (project in file(".")).
enablePlugins(BuildInfoPlugin).