python3: Drop generating a static libpython

This currently puts a 60MB binary into the recipe sysroots in the native
case as well as the implications for the target. Since as far as I know,
we don't need/use this, stop generating it by adding a PACKAGECONFIG. It
can be enabled by anyone who does actually need to use it.

(From OE-Core rev: e42abd3b82c7bac93541b2cf87b553c1a31346cd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2024-07-11 12:22:50 +01:00
parent 6911d1f7af
commit a1840d0986

View File

@@ -107,6 +107,7 @@ PACKAGECONFIG[tk] = ",,tk"
PACKAGECONFIG[tcl] = ",,tcl"
PACKAGECONFIG[gdbm] = ",,gdbm"
PACKAGECONFIG[lto] = "--with-lto,--without-lto"
PACKAGECONFIG[staticlibpython] = "--with-static-libpython,--without-static-libpython"
do_configure:prepend () {
mkdir -p ${B}/Modules