From 7c8af3eb845b0c89b08533bfe4aa9bf9077ebab6 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Thu, 7 Jul 2022 20:46:51 +0200 Subject: [PATCH] - gptfdisk: rework build --- package/gptfdisk/gptfdisk.mk | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/package/gptfdisk/gptfdisk.mk b/package/gptfdisk/gptfdisk.mk index 61196020..f272657b 100644 --- a/package/gptfdisk/gptfdisk.mk +++ b/package/gptfdisk/gptfdisk.mk @@ -19,13 +19,12 @@ GPTFDISK_MAKE_ENV = \ GPTFDISK_MAKE_OPTS = \ $(GPTFDISK_SBINARIES) -define GPTFDISK_INSTALL_SBINARIES +define GPTFDISK_INSTALL_CMDS $(foreach sbinary,$($(PKG)_SBINARIES),\ rm -f $(TARGET_sbindir)/$(sbinary); \ $(INSTALL_EXEC) -D $(PKG_BUILD_DIR)/$(sbinary) $(TARGET_sbindir)/$(sbinary)$(sep) \ ) endef -GPTFDISK_PRE_FOLLOWUP_HOOKS += GPTFDISK_INSTALL_SBINARIES gptfdisk: | $(TARGET_DIR) - $(call generic-package,$(PKG_NO_INSTALL)) + $(call generic-package)