summaryrefslogtreecommitdiffstats
path: root/package/gptfdisk/Config.in
diff options
context:
space:
mode:
Diffstat (limited to 'package/gptfdisk/Config.in')
-rw-r--r--package/gptfdisk/Config.in36
1 files changed, 36 insertions, 0 deletions
diff --git a/package/gptfdisk/Config.in b/package/gptfdisk/Config.in
new file mode 100644
index 000000000..7851dc3dc
--- /dev/null
+++ b/package/gptfdisk/Config.in
@@ -0,0 +1,36 @@
+config BR2_PACKAGE_GPTFDISK
+ bool "gptfdisk"
+ depends on BR2_LARGEFILE
+ depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_USE_WCHAR # util-linux
+ help
+ GPT fdisk (consisting of the gdisk and sgdisk programs) is a
+ text-mode partitioning tool that works on Globally Unique Identifier
+ (GUID) Partition Table (GPT) disks, rather than on the more common
+ (through 2010) Master Boot Record (MBR) partition tables.
+
+ http://www.rodsbooks.com/gdisk/
+
+config BR2_PACKAGE_GPTFDISK_GDISK
+ bool "interactive gdisk"
+ depends on BR2_PACKAGE_GPTFDISK
+ select BR2_PACKAGE_UTIL_LINUX
+ select BR2_PACKAGE_UTIL_LINUX_LIBUUID
+ help
+ Install the interactive GUID partition table (GPT) manipulator
+ /usr/sbin/gdisk which is modelled after and quite similar in use
+ to the traditional MBR based fdisk tool.
+
+config BR2_PACKAGE_GPTFDISK_SGDISK
+ bool "command line sgdisk"
+ depends on BR2_PACKAGE_GPTFDISK
+ select BR2_PACKAGE_UTIL_LINUX
+ select BR2_PACKAGE_UTIL_LINUX_LIBUUID
+ select BR2_PACKAGE_POPT
+ help
+ Install the command-line GUID partition table (GPT) manipulator
+ /usr/sbin/sgdisk which is named after the traditional MBR based
+ sfdisk tool albeit with an entirely different option syntax.
+
+comment "gptfdisk requires a toolchain with LARGEFILE/WCHAR/C++ support enabled"
+ depends on !(BR2_LARGEFILE && BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR)