From 20a60679c463ef1ec83a870358a2114c1b9babd6 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Thu, 7 Mar 2013 10:45:29 +0000 Subject: gptfdisk: add support for building and install cgdisk In addition to the command-line tool gdisk and the interactive tool sgdisk, gptfdisk also provides a ncurses based tool, cgdisk. This commit adds support for building and installing this tool. [Peter: Update gdisk autoselection logic to consider cgdisk as well] Signed-off-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- package/gptfdisk/gptfdisk.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'package/gptfdisk/gptfdisk.mk') diff --git a/package/gptfdisk/gptfdisk.mk b/package/gptfdisk/gptfdisk.mk index 0478041d9..15ec842de 100644 --- a/package/gptfdisk/gptfdisk.mk +++ b/package/gptfdisk/gptfdisk.mk @@ -9,11 +9,15 @@ GPTFDISK_SITE = http://downloads.sourceforge.net/sourceforge/gptfdisk GPTFDISK_TARGETS_$(BR2_PACKAGE_GPTFDISK_GDISK) += gdisk GPTFDISK_TARGETS_$(BR2_PACKAGE_GPTFDISK_SGDISK) += sgdisk +GPTFDISK_TARGETS_$(BR2_PACKAGE_GPTFDISK_CGDISK) += cgdisk GPTFDISK_DEPENDENCIES += util-linux ifeq ($(BR2_PACKAGE_GPTFDISK_SGDISK),y) GPTFDISK_DEPENDENCIES += popt endif +ifeq ($(BR2_PACKAGE_GPTFDISK_CGDISK),y) + GPTFDISK_DEPENDENCIES += ncurses +endif ifeq ($(BR2_PACKAGE_ICU),y) GPTFDISK_DEPENDENCIES += icu -- cgit v1.2.3