Browse Source

- gptfdisk: fix build

master
vanhofen 3 years ago
parent
commit
c2c1341b38
  1. 12
      package/gptfdisk/gptfdisk.mk

12
package/gptfdisk/gptfdisk.mk

@ -11,15 +11,15 @@ GPTFDISK_SITE = https://sourceforge.net/projects/gptfdisk/files/gptfdisk/$(GPTFD
GPTFDISK_DEPENDENCIES = popt e2fsprogs ncurses GPTFDISK_DEPENDENCIES = popt e2fsprogs ncurses
GPTFDISK_BINARIES = sgdisk GPTFDISK_SBINARIES = sgdisk
define GPTFDISK_INSTALL_BINARIES define GPTFDISK_INSTALL_SBINARIES
$(foreach binary,$($(PKG)_BINARIES),\ $(foreach sbinary,$($(PKG)_SBINARIES),\
rm -f $(TARGET_sbindir)/$(binary); \ rm -f $(TARGET_sbindir)/$(sbinary); \
$(INSTALL_EXEC) -D $(PKG_BUILD_DIR)/$(binary) $(TARGET_sbindir)/$(binary)$(sep) \ $(INSTALL_EXEC) -D $(PKG_BUILD_DIR)/$(sbinary) $(TARGET_sbindir)/$(sbinary)$(sep) \
) )
endef endef
GPTFDISK_PRE_FOLLOWUP_HOOKS += GPTFDISK_INSTALL_BINARIES GPTFDISK_PRE_FOLLOWUP_HOOKS += GPTFDISK_INSTALL_SBINARIES
gptfdisk: | $(TARGET_DIR) gptfdisk: | $(TARGET_DIR)
$(call PREPARE) $(call PREPARE)

Loading…
Cancel
Save