From 2a86ea7fc968f297e5b8c6679770d6b5b8fd4646 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Thu, 7 Mar 2013 10:45:25 +0000 Subject: gptfdisk: ensure that the package always builds/installs something Until now, selecting just the gptfdisk package wouldn't do anything. It wouldn't build anything at all, and wouldn't install anything. This is rather odd. So now, we ensure that at least one of the two tools that gptfdisk can build and install is selected. This allows use to factorize a bit the select of util-linux in Config.in, and remove the if condition in the makefile that was preventing the package from being built if no tools was selected. [Peter: Reword commit text] Signed-off-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- package/gptfdisk/gptfdisk.mk | 4 ---- 1 file changed, 4 deletions(-) (limited to 'package/gptfdisk/gptfdisk.mk') diff --git a/package/gptfdisk/gptfdisk.mk b/package/gptfdisk/gptfdisk.mk index 7755a30c9..2d3cb1add 100644 --- a/package/gptfdisk/gptfdisk.mk +++ b/package/gptfdisk/gptfdisk.mk @@ -10,8 +10,6 @@ GPTFDISK_SITE = http://downloads.sourceforge.net/sourceforge/gptfdisk GPTFDISK_TARGETS_$(BR2_PACKAGE_GPTFDISK_GDISK) += gdisk GPTFDISK_TARGETS_$(BR2_PACKAGE_GPTFDISK_SGDISK) += sgdisk -ifneq ($(GPTFDISK_TARGETS_y),) - GPTFDISK_DEPENDENCIES += util-linux ifeq ($(BR2_PACKAGE_GPTFDISK_SGDISK),y) GPTFDISK_DEPENDENCIES += popt @@ -33,6 +31,4 @@ define GPTFDISK_UNINSTALL_TARGET_CMDS rm -f $(addprefix $(TARGET_DIR)/usr/sbin/,$(GPTFDISK_TARGETS_y)) endef -endif - $(eval $(generic-package)) -- cgit v1.2.3