python3: un-break disabling the readline PACKAGECONFIG

Previously the readline module would have been built regardless of
readline's presence in the sysroot, and the recipe would
fail at package_qa.

(From OE-Core rev: 79ebbca6943bc66b619671f93ac283ed2cfc8e5c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin
2019-10-10 13:18:42 +02:00
committed by Richard Purdie
parent 0aee3558f9
commit 7bd7af037f

View File

@@ -102,6 +102,7 @@ do_configure_prepend () {
cat > ${B}/Modules/Setup.local << EOF
*disabled*
${@bb.utils.contains('PACKAGECONFIG', 'gdbm', '', '_gdbm _dbm', d)}
${@bb.utils.contains('PACKAGECONFIG', 'readline', '', 'readline', d)}
EOF
}