build/lattice/prjtrellis: fix default toolchain_path

This commit is contained in:
Florent Kermarrec 2018-10-30 10:28:12 +01:00
parent 468780c045
commit e9d4c882ba
1 changed files with 1 additions and 1 deletions

View File

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