summaryrefslogtreecommitdiffstats
path: root/package/util-linux/Config.in
diff options
context:
space:
mode:
Diffstat (limited to 'package/util-linux/Config.in')
-rw-r--r--package/util-linux/Config.in121
1 files changed, 115 insertions, 6 deletions
diff --git a/package/util-linux/Config.in b/package/util-linux/Config.in
index 434dae952..b59a31ab2 100644
--- a/package/util-linux/Config.in
+++ b/package/util-linux/Config.in
@@ -1,8 +1,8 @@
-config BR2_PACKAGE_UTIL-LINUX
+config BR2_PACKAGE_UTIL_LINUX
bool "util-linux"
- select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
- select BR2_PACKAGE_LIBINTL if BR2_NEEDS_GETTEXT_IF_LOCALE
- depends on BR2_INET_RPC
+ depends on BR2_LARGEFILE
+ depends on BR2_USE_WCHAR
+ depends on BR2_PROGRAM_INVOCATION
help
Various useful/essential Linux utilities.
@@ -10,5 +10,114 @@ config BR2_PACKAGE_UTIL-LINUX
http://www.kernel.org/pub/linux/utils/util-linux/
-comment "util-linux requires a toolchain with RPC support"
- depends on !BR2_INET_RPC
+if BR2_PACKAGE_UTIL_LINUX
+
+############################################
+# default enabled and should be disabled by
+# --disable-foo
+#
+
+config BR2_PACKAGE_UTIL_LINUX_MOUNT
+ bool "build mount utilties"
+ default y
+
+config BR2_PACKAGE_UTIL_LINUX_FSCK
+ bool "build \"fsck\""
+ default y
+
+config BR2_PACKAGE_UTIL_LINUX_LIBUUID
+ bool "build libuuid and uuid utilities"
+ default y
+
+config BR2_PACKAGE_UTIL_LINUX_UUIDD
+ bool "build \"uuidd\""
+ default y
+
+config BR2_PACKAGE_UTIL_LINUX_LIBBLKID
+ bool "build libblkid and blkid utilities"
+ default y
+
+config BR2_PACKAGE_UTIL_LINUX_AGETTY
+ bool "build \"agetty\""
+ default y
+
+config BR2_PACKAGE_UTIL_LINUX_CRAMFS
+ bool "build \"fsck.cramfs, mkfs.cramfs\""
+ default y
+
+config BR2_PACKAGE_UTIL_LINUX_SWITCH_ROOT
+ bool "build \"switch_root\""
+ default y
+
+config BR2_PACKAGE_UTIL_LINUX_PIVOT_ROOT
+ bool "build \"pivot_root\""
+ default y
+
+config BR2_PACKAGE_UTIL_LINUX_FALLOCATE
+ bool "build \"fallocate\""
+ default y
+
+config BR2_PACKAGE_UTIL_LINUX_UNSHARE
+ bool "build \"unshare\""
+ default y
+
+config BR2_PACKAGE_UTIL_LINUX_RENAME
+ bool "build \"rename\""
+ default y
+
+config BR2_PACKAGE_UTIL_LINUX_SCHEDUTILS
+ bool "build \"chrt, ionice, teskset\""
+ default y
+
+config BR2_PACKAGE_UTIL_LINUX_WALL
+ bool "build \"wall\""
+ default y
+
+############################################
+# default disabled and should be enabled by
+# --enable-foo
+#
+config BR2_PACKAGE_UTIL_LINUX_ARCH
+ bool "build \"arch\""
+ default n
+
+config BR2_PACKAGE_UTIL_LINUX_INIT
+ bool "build \"simpleinit, shutdown, initctl\""
+ default n
+
+config BR2_PACKAGE_UTIL_LINUX_KILL
+ bool "build \"kill\""
+ default n
+
+config BR2_PACKAGE_UTIL_LINUX_LAST
+ bool "build \"last\""
+ default n
+
+config BR2_PACKAGE_UTIL_LINUX_MESG
+ bool "build \"kill\""
+ default n
+
+config BR2_PACKAGE_UTIL_LINUX_PARTX
+ bool "build \"addpart, delpart, partx\""
+ default n
+
+config BR2_PACKAGE_UTIL_LINUX_RAW
+ bool "build \"raw\""
+ default n
+
+config BR2_PACKAGE_UTIL_LINUX_RESET
+ bool "build \"reset\""
+ default n
+
+config BR2_PACKAGE_UTIL_LINUX_LOGIN_UTILS
+ bool "build \"chfn, chsh, login, newgrp, vipw\""
+ default n
+
+config BR2_PACKAGE_UTIL_LINUX_WRITE
+ bool "build \"addpart, delpart, partx\""
+ default n
+
+endif
+
+comment "util-linux requires a toolchain with LARGEFILE/WCHAR/PROGRAM_INVOCATION support"
+ depends on !(BR2_LARGEFILE && BR2_USE_WCHAR && BR2_PROGRAM_INVOCATION)