summaryrefslogtreecommitdiff
path: root/meta/recipes-core/util-linux
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2015-12-18 14:47:44 -0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-27 11:27:00 +0000
commit574b84132df61d421d2f99e14bdc94649fe83e38 (patch)
tree479abc66685a9ea74176bc9a232c6036123aef2a /meta/recipes-core/util-linux
parent5c2e77765ced1f113ec871b747f04e3f23d874fc (diff)
downloadopenembedded-core-574b84132df61d421d2f99e14bdc94649fe83e38.tar.gz
openembedded-core-574b84132df61d421d2f99e14bdc94649fe83e38.tar.bz2
openembedded-core-574b84132df61d421d2f99e14bdc94649fe83e38.zip
util-linux: Fix floating dependency upon 'readline'
The configure script checks for 'readline' availability and enables it, if available. Now, a PACKAGECONFIG (readline) controls the feature. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-core/util-linux')
-rw-r--r--meta/recipes-core/util-linux/util-linux.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc
index cf321c62b2..fb384e11bc 100644
--- a/meta/recipes-core/util-linux/util-linux.inc
+++ b/meta/recipes-core/util-linux/util-linux.inc
@@ -61,6 +61,9 @@ PACKAGECONFIG[libcap-ng] = "--enable-setpriv,--disable-setpriv,libcap-ng,"
# Build python bindings for libmount
PACKAGECONFIG[pylibmount] = "--with-python --enable-pylibmount,--without-python --disable-pylibmount,python"
+# Readline support
+PACKAGECONFIG[readline] = "--with-readline,--without-readline,readline"
+
FILES_${PN}-bash-completion += "${datadir}/bash-completion"
FILES_${PN}-doc += "${datadir}/getopt/getopt-*.*"