diff options
| -rw-r--r-- | meta/recipes-devtools/python/python3_3.10.14.bb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-devtools/python/python3_3.10.14.bb b/meta/recipes-devtools/python/python3_3.10.14.bb index 31c458c09a..b5bc80ab88 100644 --- a/meta/recipes-devtools/python/python3_3.10.14.bb +++ b/meta/recipes-devtools/python/python3_3.10.14.bb | |||
| @@ -106,7 +106,8 @@ CACHED_CONFIGUREVARS = " \ | |||
| 106 | PACKAGECONFIG:class-target ??= "readline gdbm ${@bb.utils.filter('DISTRO_FEATURES', 'lto', d)}" | 106 | PACKAGECONFIG:class-target ??= "readline gdbm ${@bb.utils.filter('DISTRO_FEATURES', 'lto', d)}" |
| 107 | PACKAGECONFIG:class-native ??= "readline gdbm" | 107 | PACKAGECONFIG:class-native ??= "readline gdbm" |
| 108 | PACKAGECONFIG:class-nativesdk ??= "readline gdbm" | 108 | PACKAGECONFIG:class-nativesdk ??= "readline gdbm" |
| 109 | PACKAGECONFIG[readline] = ",,readline" | 109 | PACKAGECONFIG[readline] = "--with-readline=readline,,readline,,,editline" |
| 110 | PACKAGECONFIG[editline] = "--with-readline=editline,,libedit,,,readline" | ||
| 110 | # Use profile guided optimisation by running PyBench inside qemu-user | 111 | # Use profile guided optimisation by running PyBench inside qemu-user |
| 111 | PACKAGECONFIG[pgo] = "--enable-optimizations,,qemu-native" | 112 | PACKAGECONFIG[pgo] = "--enable-optimizations,,qemu-native" |
| 112 | PACKAGECONFIG[tk] = ",,tk" | 113 | PACKAGECONFIG[tk] = ",,tk" |
| @@ -118,7 +119,7 @@ do_configure:prepend () { | |||
| 118 | cat > ${B}/Modules/Setup.local << EOF | 119 | cat > ${B}/Modules/Setup.local << EOF |
| 119 | *disabled* | 120 | *disabled* |
| 120 | ${@bb.utils.contains('PACKAGECONFIG', 'gdbm', '', '_gdbm _dbm', d)} | 121 | ${@bb.utils.contains('PACKAGECONFIG', 'gdbm', '', '_gdbm _dbm', d)} |
| 121 | ${@bb.utils.contains('PACKAGECONFIG', 'readline', '', 'readline', d)} | 122 | ${@bb.utils.contains_any('PACKAGECONFIG', 'readline editline', '', 'readline', d)} |
| 122 | EOF | 123 | EOF |
| 123 | } | 124 | } |
| 124 | 125 | ||
