From: Stefan Biereigel Date: Tue, 14 May 2019 12:36:31 +0000 (+0200) Subject: add mkdir for libyosys target, explicitly copy to target folder X-Git-Tag: yosys-0.9~124^2~2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6c9c78d4aa35d41b500d34e6b5c1c44756d9962d;p=yosys.git add mkdir for libyosys target, explicitly copy to target folder --- diff --git a/Makefile b/Makefile index b51ffd4c8..0de8301a1 100644 --- a/Makefile +++ b/Makefile @@ -679,13 +679,14 @@ endif $(INSTALL_SUDO) mkdir -p $(DESTDIR)$(DATDIR) $(INSTALL_SUDO) cp -r share/. $(DESTDIR)$(DATDIR)/. ifeq ($(ENABLE_LIBYOSYS),1) - $(INSTALL_SUDO) cp libyosys.so $(DESTDIR)$(LIBDIR) + $(INSTALL_SUDO) mkdir -p $(DESTDIR)$(LIBDIR) + $(INSTALL_SUDO) cp libyosys.so $(DESTDIR)$(LIBDIR)/ $(INSTALL_SUDO) $(STRIP) -S $(DESTDIR)$(LIBDIR)/libyosys.so $(INSTALL_SUDO) ldconfig ifeq ($(ENABLE_PYOSYS),1) $(INSTALL_SUDO) mkdir -p $(PYTHON_DESTDIR)/pyosys - $(INSTALL_SUDO) cp libyosys.so $(PYTHON_DESTDIR)/pyosys - $(INSTALL_SUDO) cp misc/__init__.py $(PYTHON_DESTDIR)/pyosys + $(INSTALL_SUDO) cp libyosys.so $(PYTHON_DESTDIR)/pyosys/ + $(INSTALL_SUDO) cp misc/__init__.py $(PYTHON_DESTDIR)/pyosys/ endif endif