diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2020-03-12 18:26:19 +0100 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2020-03-12 18:26:19 +0100 |
commit | f37f558f72769c1b1ae1255ae5611bb1cb510a0d (patch) | |
tree | 15cf8687bbabae89e95e405001e99092d1c7b919 /Makefile | |
parent | 178a8e3bffbb76e86ac8fdab7ece590dd9fd4bc4 (diff) | |
download | yosys-f37f558f72769c1b1ae1255ae5611bb1cb510a0d.tar.gz yosys-f37f558f72769c1b1ae1255ae5611bb1cb510a0d.tar.bz2 yosys-f37f558f72769c1b1ae1255ae5611bb1cb510a0d.zip |
Revert "Clean up 'install' Makefile target"
This reverts commit 2a746234fec2f6d14e9bfa40fd7f3478cdd539ea.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -765,7 +765,8 @@ clean-unit-test: @$(MAKE) -C $(UNITESTPATH) clean install: $(TARGETS) $(EXTRA_TARGETS) - $(INSTALL_SUDO) install -D -t $(DESTDIR)$(BINDIR) $(filter-out libyosys.so,$(TARGETS)) + $(INSTALL_SUDO) mkdir -p $(DESTDIR)$(BINDIR) + $(INSTALL_SUDO) cp $(TARGETS) $(DESTDIR)$(BINDIR) ifneq ($(filter yosys,$(TARGETS)),) $(INSTALL_SUDO) $(STRIP) -S $(DESTDIR)$(BINDIR)/yosys endif @@ -778,11 +779,13 @@ endif $(INSTALL_SUDO) mkdir -p $(DESTDIR)$(DATDIR) $(INSTALL_SUDO) cp -r share/. $(DESTDIR)$(DATDIR)/. ifeq ($(ENABLE_LIBYOSYS),1) - $(INSTALL_SUDO) install -D -t $(DESTDIR)$(LIBDIR) libyosys.so + $(INSTALL_SUDO) mkdir -p $(DESTDIR)$(LIBDIR) + $(INSTALL_SUDO) cp libyosys.so $(DESTDIR)$(LIBDIR)/ $(INSTALL_SUDO) $(STRIP) -S $(DESTDIR)$(LIBDIR)/libyosys.so ifeq ($(ENABLE_PYOSYS),1) - $(INSTALL_SUDO) install -Dm644 -t $(PYTHON_DESTDIR)/pyosys/ misc/__init__.py - $(INSTALL_SUDO) ln -s $(LIBDIR)/libyosys.so $(PYTHON_DESTDIR)/pyosys/ + $(INSTALL_SUDO) mkdir -p $(PYTHON_DESTDIR)/pyosys + $(INSTALL_SUDO) cp libyosys.so $(PYTHON_DESTDIR)/pyosys/ + $(INSTALL_SUDO) cp misc/__init__.py $(PYTHON_DESTDIR)/pyosys/ endif endif |