This currently puts a 60MB binary into the recipe sysroots in the native case as well as the impliations 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.
Signed-off-by: Richard Purdie <[email protected]> --- meta/conf/distro/include/yocto-space-optimize.inc | 1 + meta/recipes-devtools/python/python3_3.12.4.bb | 1 + 2 files changed, 2 insertions(+) diff --git a/meta/conf/distro/include/yocto-space-optimize.inc b/meta/conf/distro/include/yocto-space-optimize.inc index ffc121e440a..16af07511ed 100644 --- a/meta/conf/distro/include/yocto-space-optimize.inc +++ b/meta/conf/distro/include/yocto-space-optimize.inc @@ -1,3 +1,4 @@ DEBUG_FLAGS:remove:pn-llvm = "-g" +DEBUG_FLAGS:append:pn-llvm = "-g1" DEBUG_FLAGS:remove:pn-qemu = "-g" DEBUG_FLAGS:remove:pn-openssl = "-g" diff --git a/meta/recipes-devtools/python/python3_3.12.4.bb b/meta/recipes-devtools/python/python3_3.12.4.bb index 77bbfaa069e..743ba0b1f1f 100644 --- a/meta/recipes-devtools/python/python3_3.12.4.bb +++ b/meta/recipes-devtools/python/python3_3.12.4.bb @@ -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
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#201774): https://lists.openembedded.org/g/openembedded-core/message/201774 Mute This Topic: https://lists.openembedded.org/mt/107160573/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
