Browse Source

- gptfdisk: rework build

master
vanhofen 3 years ago
parent
commit
7c8af3eb84
  1. 5
      package/gptfdisk/gptfdisk.mk

5
package/gptfdisk/gptfdisk.mk

@ -19,13 +19,12 @@ GPTFDISK_MAKE_ENV = \
GPTFDISK_MAKE_OPTS = \ GPTFDISK_MAKE_OPTS = \
$(GPTFDISK_SBINARIES) $(GPTFDISK_SBINARIES)
define GPTFDISK_INSTALL_SBINARIES define GPTFDISK_INSTALL_CMDS
$(foreach sbinary,$($(PKG)_SBINARIES),\ $(foreach sbinary,$($(PKG)_SBINARIES),\
rm -f $(TARGET_sbindir)/$(sbinary); \ rm -f $(TARGET_sbindir)/$(sbinary); \
$(INSTALL_EXEC) -D $(PKG_BUILD_DIR)/$(sbinary) $(TARGET_sbindir)/$(sbinary)$(sep) \ $(INSTALL_EXEC) -D $(PKG_BUILD_DIR)/$(sbinary) $(TARGET_sbindir)/$(sbinary)$(sep) \
) )
endef endef
GPTFDISK_PRE_FOLLOWUP_HOOKS += GPTFDISK_INSTALL_SBINARIES
gptfdisk: | $(TARGET_DIR) gptfdisk: | $(TARGET_DIR)
$(call generic-package,$(PKG_NO_INSTALL)) $(call generic-package)

Loading…
Cancel
Save