jeffdi
curl <https://raw.githubusercontent.com/efabless/caravel_user_project/main/Makefile> > Makefile
curl <https://raw.githubusercontent.com/efabless/caravel_user_project/main/openlane/Makefile> > openlane/MakefileMitch Bailey
06/04/2024, 1:03 AMopenlane/Makefile is linked to ../caravel/openlane/Makefile and redirecting stdout as in > openlane/Makefile will overwrite the file that the link points to.
Suggested work around for analog projects is to
rm openlane/Makefile
before executing the curl commands
curl <https://raw.githubusercontent.com/efabless/caravel_user_project/main/Makefile> > Makefile
curl <https://raw.githubusercontent.com/efabless/caravel_user_project/main/openlane/Makefile> > openlane/Makefile
If you’ve already overwritten the caravel/openlane/Makefile, you can run make install to restore.
The analog caravel_user_project_analog/Makefile is also different than the digital caravel_user_project/Makefile, but I think it’s just an older version and it may be ok to overwrite it. If you are using any of the targets in the caravel_user_project_analog/Makefile and need the old functionality, you should be able to restore the old version from git.