summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2024-07-11 12:22:50 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-07-13 23:28:30 +0100
commita1840d0986fe9c9dc6451bccacf1d900ef1ee6a1 (patch)
tree902a76af944ce8292ab34528aa14efdb1bd4dddd
parent6911d1f7af9047d6ed7b6aa67e73ca76918758bf (diff)
downloadpoky-a1840d0986fe9c9dc6451bccacf1d900ef1ee6a1.tar.gz
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>
-rw-r--r--meta/recipes-devtools/python/python3_3.12.4.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3_3.12.4.bb b/meta/recipes-devtools/python/python3_3.12.4.bb
index 77bbfaa069..743ba0b1f1 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"
107PACKAGECONFIG[tcl] = ",,tcl" 107PACKAGECONFIG[tcl] = ",,tcl"
108PACKAGECONFIG[gdbm] = ",,gdbm" 108PACKAGECONFIG[gdbm] = ",,gdbm"
109PACKAGECONFIG[lto] = "--with-lto,--without-lto" 109PACKAGECONFIG[lto] = "--with-lto,--without-lto"
110PACKAGECONFIG[staticlibpython] = "--with-static-libpython,--without-static-libpython"
110 111
111do_configure:prepend () { 112do_configure:prepend () {
112 mkdir -p ${B}/Modules 113 mkdir -p ${B}/Modules