build/lattice/prjtrellis: fix default toolchain_path
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 30 Oct 2018 09:28:12 +0000 (10:28 +0100)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 30 Oct 2018 09:28:12 +0000 (10:28 +0100)
litex/build/lattice/prjtrellis.py

index ccf9139c6ac5286ca396ecfb93fef69d14ff9182..d019e14795ccd6369a22fdf08c2d17126c1d9e42 100644 (file)
@@ -146,7 +146,7 @@ class LatticePrjTrellisToolchain:
     def build(self, platform, fragment, build_dir="build", build_name="top",
               toolchain_path=None, run=True):
         if toolchain_path is None:
-            toolchain_path = "/opt/prjtrellis/"
+            toolchain_path = "/usr/share/trellis/"
         os.makedirs(build_dir, exist_ok=True)
         cwd = os.getcwd()
         os.chdir(build_dir)