Skip to content

Commit 9a6f648

Browse files
committed
Execute post_build scripts in the icestorm flow
1 parent 7014995 commit 9a6f648

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

‎edalize/flows/icestorm.py‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def configure_flow(self, flow_options):
6161

6262
pnr = flow_options.get("pnr", "next")
6363
if pnr == "next":
64-
self.goal = "bitstream"
64+
self.goal = ""
6565
elif pnr == "none":
6666
self.goal = "synth"
6767
else:
@@ -85,4 +85,7 @@ def configure_tools(self, nodes):
8585
self.commands.add([], ["stats"], [targets])
8686

8787
def build(self):
88-
self._run_tool("make", [self.goal], cwd=self.work_root)
88+
args = []
89+
if self.goal:
90+
args.append(self.goal)
91+
self._run_tool("make", args, cwd=self.work_root)

0 commit comments

Comments
 (0)