Message ID | 20240711112522.1211884-1-richard.purdie@linuxfoundation.org |
---|---|
State | Accepted, archived |
Commit | e42abd3b82c7bac93541b2cf87b553c1a31346cd |
Headers | show |
Series | python3: Drop generating a static libpython | expand |
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
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 <richard.purdie@linuxfoundation.org> --- meta/conf/distro/include/yocto-space-optimize.inc | 1 + meta/recipes-devtools/python/python3_3.12.4.bb | 1 + 2 files changed, 2 insertions(+)