]> code.ossystems Code Review - openembedded-core.git/commitdiff
util-linux: Fix floating dependency upon 'readline'
authorOtavio Salvador <otavio@ossystems.com.br>
Fri, 18 Dec 2015 16:47:44 +0000 (14:47 -0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 27 Dec 2015 11:27:00 +0000 (11:27 +0000)
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>
meta/recipes-core/util-linux/util-linux.inc

index cf321c62b26c79bab87dd78fc603e13dc816d9a9..fb384e11bc2dc4e46b4259f6c57d30f49508f1e8 100644 (file)
@@ -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-*.*"