chipsalliance / yosys-f4pga-plugins

Plugins for Yosys developed as part of the F4PGA project.
https://f4pga.org
Apache License 2.0
83 stars 46 forks source link

install commands don't respect DESTDIR to install into a stage directory #527

Open yurivict opened 1 year ago

yurivict commented 1 year ago

For example:

yosys-f4pga-plugins/xdc-plugin/Makefile:    install -D $< $(YOSYS_PLUGINS_DIR)/fasm_extra_modules/$<

should be

yosys-f4pga-plugins/xdc-plugin/Makefile:    install -D $< $(DESTDIR)$(YOSYS_PLUGINS_DIR)/fasm_extra_modules/$<
timkpaine commented 10 months ago

I can do this once I recover mentally from https://github.com/chipsalliance/yosys-f4pga-plugins/pull/485 😆