Added filter-out for libyosys.so
authorMiodrag Milanovic <mmicko@gmail.com>
Thu, 12 Mar 2020 17:28:20 +0000 (18:28 +0100)
committerMiodrag Milanovic <mmicko@gmail.com>
Thu, 12 Mar 2020 17:28:20 +0000 (18:28 +0100)
Makefile

index a911e610350159fdd16d5e5af4aa60065097e22c..c6ecc972316a59693077e4f3d625653b7a2ec04b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -766,7 +766,7 @@ clean-unit-test:
 
 install: $(TARGETS) $(EXTRA_TARGETS)
        $(INSTALL_SUDO) mkdir -p $(DESTDIR)$(BINDIR)
-       $(INSTALL_SUDO) cp $(TARGETS) $(DESTDIR)$(BINDIR)
+       $(INSTALL_SUDO) cp $(filter-out libyosys.so,$(TARGETS)) $(DESTDIR)$(BINDIR)
 ifneq ($(filter yosys,$(TARGETS)),)
        $(INSTALL_SUDO) $(STRIP) -S $(DESTDIR)$(BINDIR)/yosys
 endif