summaryrefslogtreecommitdiffstats
path: root/package/util-linux
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-02-25 21:30:49 +0100
committerPeter Korsgaard <peter@korsgaard.com>2016-02-26 19:49:36 +0100
commit025cb6ba54137fc792106ca05d97a544f1ab2b35 (patch)
treebdac8910620da50e3a0c9804ff7ef9230d9fd784 /package/util-linux
parentaddc23ef6b4888a58375eaa77010047d4692e483 (diff)
downloadbuildroot-025cb6ba54137fc792106ca05d97a544f1ab2b35.tar.gz
buildroot-025cb6ba54137fc792106ca05d97a544f1ab2b35.zip
util-linux: add option for lsblk
This commit adds an option to the util-linux package that allows to build the lsblk utility. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/util-linux')
-rw-r--r--package/util-linux/Config.in5
-rw-r--r--package/util-linux/util-linux.mk1
2 files changed, 6 insertions, 0 deletions
diff --git a/package/util-linux/Config.in b/package/util-linux/Config.in
index df89f990f8..ea2311511b 100644
--- a/package/util-linux/Config.in
+++ b/package/util-linux/Config.in
@@ -134,6 +134,11 @@ config BR2_PACKAGE_UTIL_LINUX_LOSETUP
help
Set up and control loop devices
+config BR2_PACKAGE_UTIL_LINUX_LSBLK
+ bool "lsblk"
+ help
+ List block devices.
+
config BR2_PACKAGE_UTIL_LINUX_MESG
bool "mesg"
help
diff --git a/package/util-linux/util-linux.mk b/package/util-linux/util-linux.mk
index f6e5d62925..cf9505c8de 100644
--- a/package/util-linux/util-linux.mk
+++ b/package/util-linux/util-linux.mk
@@ -84,6 +84,7 @@ UTIL_LINUX_CONF_OPTS += \
$(if $(BR2_PACKAGE_UTIL_LINUX_LINE),--enable-line,--disable-line) \
$(if $(BR2_PACKAGE_UTIL_LINUX_LOGIN_UTILS),--enable-last --enable-login --enable-runuser --enable-su --enable-sulogin,--disable-last --disable-login --disable-runuser --disable-su --disable-sulogin) \
$(if $(BR2_PACKAGE_UTIL_LINUX_LOSETUP),--enable-losetup,--disable-losetup) \
+ $(if $(BR2_PACKAGE_UTIL_LINUX_LSBLK),--enable-lsblk,--disable-lsblk) \
$(if $(BR2_PACKAGE_UTIL_LINUX_MESG),--enable-mesg,--disable-mesg) \
$(if $(BR2_PACKAGE_UTIL_LINUX_MINIX),--enable-minix,--disable-minix) \
$(if $(BR2_PACKAGE_UTIL_LINUX_MORE),--enable-more,--disable-more) \
OpenPOWER on IntegriCloud