]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
python3: add PACKAGECONFIG[editline]
authorEtienne Cordonnier <ecordonnier@snap.com>
Tue, 13 Sep 2022 15:25:53 +0000 (17:25 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 17 Sep 2022 06:45:19 +0000 (07:45 +0100)
editline is a BSD alternative for readline which is GPLv3.

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3_3.10.6.bb

index 1b28728732bda08ad9b160371b93076009fafbda..1f8b60a7a59d715d3185b8cff1d98d49cb2641bb 100644 (file)
@@ -105,6 +105,7 @@ PACKAGECONFIG:class-target ??= "readline gdbm ${@bb.utils.filter('DISTRO_FEATURE
 PACKAGECONFIG:class-native ??= "readline gdbm"
 PACKAGECONFIG:class-nativesdk ??= "readline gdbm"
 PACKAGECONFIG[readline] = ",,readline"
+PACKAGECONFIG[editline] = "--with-readline=editline,,libedit,,,readline"
 # Use profile guided optimisation by running PyBench inside qemu-user
 PACKAGECONFIG[pgo] = "--enable-optimizations,,qemu-native"
 PACKAGECONFIG[tk] = ",,tk"