build/lattice/icestorm: fix missing toolchain_path
This commit is contained in:
parent
5a2c92ba80
commit
fe2564e921
|
@ -108,7 +108,7 @@ class LatticeIceStormToolchain:
|
||||||
|
|
||||||
# platform.device should be of the form "ice40-{lp384, hx1k, etc}-{tq144, etc}"
|
# platform.device should be of the form "ice40-{lp384, hx1k, etc}-{tq144, etc}"
|
||||||
def build(self, platform, fragment, build_dir="build", build_name="top",
|
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)
|
os.makedirs(build_dir, exist_ok=True)
|
||||||
cwd = os.getcwd()
|
cwd = os.getcwd()
|
||||||
os.chdir(build_dir)
|
os.chdir(build_dir)
|
||||||
|
|
Loading…
Reference in New Issue