summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2020-06-24 23:13:26 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-07-08 10:47:50 +0100
commite1d89748ec66ede80b08576b3f350ac5f84faaff (patch)
tree6c22249e178533e06cc45d1d81864490b50a59de
parenteeef7b053ff22b16cfeafce59c5420c2583dd468 (diff)
downloadpoky-e1d89748ec66ede80b08576b3f350ac5f84faaff.tar.gz
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: 4a4413aa521f35414d94f883a74aec3beb628a9a) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/python/python3_3.7.7.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3_3.7.7.bb b/meta/recipes-devtools/python/python3_3.7.7.bb
index be67c81d7c..4d2578c817 100644
--- a/meta/recipes-devtools/python/python3_3.7.7.bb
+++ b/meta/recipes-devtools/python/python3_3.7.7.bb
@@ -107,6 +107,7 @@ do_configure_prepend () {
107 cat > ${B}/Modules/Setup.local << EOF 107 cat > ${B}/Modules/Setup.local << EOF
108*disabled* 108*disabled*
109${@bb.utils.contains('PACKAGECONFIG', 'gdbm', '', '_gdbm _dbm', d)} 109${@bb.utils.contains('PACKAGECONFIG', 'gdbm', '', '_gdbm _dbm', d)}
110${@bb.utils.contains('PACKAGECONFIG', 'readline', '', 'readline', d)}
110EOF 111EOF
111} 112}
112 113