Skip to content

Commit 1cce9f3

Browse files
committed
libero: add dummy Makefile
fusesoc relies on the Makefile timestamp to know if it should rerun the setup stage. Add a dummy file so that one can launch build and run stages without having to destroy and regenerate a project. This should be removed when updating libero to the flow api. Signed-off-by: Liam Beguin <[email protected]>
1 parent 13b364d commit 1cce9f3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

edalize/libero.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,10 @@ def configure_main(self):
200200
escaped_name = self.name.replace(".", "_")
201201
self._run_libero(script=escaped_name + "-project.tcl")
202202

203+
# FIXME: fusesoc relies on the Makefile timestamp
204+
makefile = os.path.join(self.work_root, 'Makefile')
205+
open(makefile, 'a').close()
206+
203207
def src_file_filter(self, f):
204208
file_types = {
205209
"verilogSource": "-hdl_source {",

0 commit comments

Comments
 (0)