build/lattice/icestorm: fix missing toolchain_path

This commit is contained in:
Florent Kermarrec 2017-12-27 00:26:07 +01:00
parent 5a2c92ba80
commit fe2564e921
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ class LatticeIceStormToolchain:
# platform.device should be of the form "ice40-{lp384, hx1k, etc}-{tq144, etc}"
def build(self, platform, fragment, build_dir="build", build_name="top",
run=True):
toolchain_path=None, run=True):
os.makedirs(build_dir, exist_ok=True)
cwd = os.getcwd()
os.chdir(build_dir)