build/lattice/icestorm: fix missing toolchain_path
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 26 Dec 2017 23:26:07 +0000 (00:26 +0100)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 26 Dec 2017 23:26:07 +0000 (00:26 +0100)
litex/build/lattice/icestorm.py

index 6e19a6ed16ed13913f860dd7ccbf4697e008378f..9851010265a2c0a7f94cf8aee189703d6986c035 100644 (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)