mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
build/lattice/prjtrellis: fix default toolchain_path
This commit is contained in:
parent
468780c045
commit
e9d4c882ba
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ class LatticePrjTrellisToolchain:
|
||||||
def build(self, platform, fragment, build_dir="build", build_name="top",
|
def build(self, platform, fragment, build_dir="build", build_name="top",
|
||||||
toolchain_path=None, run=True):
|
toolchain_path=None, run=True):
|
||||||
if toolchain_path is None:
|
if toolchain_path is None:
|
||||||
toolchain_path = "/opt/prjtrellis/"
|
toolchain_path = "/usr/share/trellis/"
|
||||||
os.makedirs(build_dir, exist_ok=True)
|
os.makedirs(build_dir, exist_ok=True)
|
||||||
cwd = os.getcwd()
|
cwd = os.getcwd()
|
||||||
os.chdir(build_dir)
|
os.chdir(build_dir)
|
||||||
|
|
Loading…
Reference in a new issue