mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
diamond: close project when done
Avoids ".recovery file is present" prompt.
This commit is contained in:
parent
9b782bd7da
commit
eeee179dd8
1 changed files with 3 additions and 0 deletions
|
@ -104,6 +104,9 @@ def _build_tcl(device, sources, vincpaths, build_name):
|
|||
if _produces_jedec(device):
|
||||
tcl.append("prj_run Export -impl impl -task Jedecgen")
|
||||
|
||||
# Cleanly close the project
|
||||
tcl.append("prj_project close")
|
||||
|
||||
tools.write_to_file(build_name + ".tcl", "\n".join(tcl))
|
||||
|
||||
# Script -------------------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue