summaryrefslogtreecommitdiffstats
path: root/package/gptfdisk/gptfdisk.mk
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-03-07 10:45:29 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-03-10 22:31:17 +0100
commit20a60679c463ef1ec83a870358a2114c1b9babd6 (patch)
tree7a8ae287a004f2181cfa2579e1743233601c8fd4 /package/gptfdisk/gptfdisk.mk
parent6c83b40a1b2d1eb46de50d49572db13a4ce59f03 (diff)
downloadbuildroot-novena-20a60679c463ef1ec83a870358a2114c1b9babd6.tar.gz
buildroot-novena-20a60679c463ef1ec83a870358a2114c1b9babd6.zip
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 <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/gptfdisk/gptfdisk.mk')
-rw-r--r--package/gptfdisk/gptfdisk.mk4
1 files changed, 4 insertions, 0 deletions
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