diff options
author | Ross Burton <ross.burton@arm.com> | 2023-05-05 14:21:42 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-05-09 07:50:14 +0100 |
commit | ce6add6f8aca03a8243f5569c5536181352f47bc (patch) | |
tree | eb33fb97e9c7633b4d552a1fe0ac64ddd175477b | |
parent | 1ced55d22101049ecaaac393faefaa5494df1887 (diff) | |
download | poky-ce6add6f8aca03a8243f5569c5536181352f47bc.tar.gz |
python3: use libedit instead of readline
libedit has feature parity with readline but is more permissively
licensed (BSD verses GPLv3), so switch to libedit by default.
(From OE-Core rev: ce9a795fe720eb96a9a16e65862f9721163a5986)
(From OE-Core rev: 685df78325435db2d67ceb1a96839e0adbb568d0)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/python/python3_3.11.2.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-devtools/python/python3_3.11.2.bb b/meta/recipes-devtools/python/python3_3.11.2.bb index 5bd8d32b14..4a9aa9306b 100644 --- a/meta/recipes-devtools/python/python3_3.11.2.bb +++ b/meta/recipes-devtools/python/python3_3.11.2.bb | |||
@@ -95,10 +95,10 @@ CACHED_CONFIGUREVARS = " \ | |||
95 | " | 95 | " |
96 | 96 | ||
97 | # PGO currently causes builds to not be reproducible so disable by default, see YOCTO #13407 | 97 | # PGO currently causes builds to not be reproducible so disable by default, see YOCTO #13407 |
98 | PACKAGECONFIG:class-target ??= "readline gdbm ${@bb.utils.filter('DISTRO_FEATURES', 'lto', d)}" | 98 | PACKAGECONFIG:class-target ??= "editline gdbm ${@bb.utils.filter('DISTRO_FEATURES', 'lto', d)}" |
99 | PACKAGECONFIG:class-native ??= "readline gdbm" | 99 | PACKAGECONFIG:class-native ??= "editline gdbm" |
100 | PACKAGECONFIG:class-nativesdk ??= "readline gdbm" | 100 | PACKAGECONFIG:class-nativesdk ??= "readline gdbm" |
101 | PACKAGECONFIG[readline] = ",,readline" | 101 | PACKAGECONFIG[readline] = "--with-readline=readline,,readline,,,editline" |
102 | PACKAGECONFIG[editline] = "--with-readline=editline,,libedit,,,readline" | 102 | PACKAGECONFIG[editline] = "--with-readline=editline,,libedit,,,readline" |
103 | # Use profile guided optimisation by running PyBench inside qemu-user | 103 | # Use profile guided optimisation by running PyBench inside qemu-user |
104 | PACKAGECONFIG[pgo] = "--enable-optimizations,,qemu-native" | 104 | PACKAGECONFIG[pgo] = "--enable-optimizations,,qemu-native" |