Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'install' make target #71

Merged
merged 1 commit into from
Dec 9, 2024
Merged

Conversation

rodrigomelo9
Copy link
Contributor

Hi. I recently discovered this project and added yosys-slang to one of my Dockerfiles (https://github.com/PyFPGA/containers/blob/main/recipes/synthesis). I noticed that this typical option was missing, so I added it, taking inspiration from the ghdl-yosys-plugin.

Copy link
Owner

@povik povik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I left one comment

Makefile Outdated
@@ -53,6 +54,10 @@ clean: clean-objects

clean-all: clean clean-slang

install: build/slang.so
$(YOSYS_CONFIG) --exec mkdir -p $(DESTDIR)$(PLUGINDIR)
$(YOSYS_CONFIG) --exec cp $< $(DESTDIR)$(PLUGINDIR)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are invoking yosys-config both here and in the assignment to the PLUGINDIR variable, I think one of those is superfluous

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Welcome :-) I just simplified what is done at install. Let me know what you think or what your proposal is.

Copy link
Owner

@povik povik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine

@povik povik merged commit 8b1577b into povik:master Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants