From: Richard Purdie Date: Wed, 23 Feb 2022 15:50:40 +0000 (+0000) Subject: python3targetconfig: Use for nativesdk too X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=b1b5fec350b390fa7f2d26966df1411b032faf87;p=openembedded-core.git python3targetconfig: Use for nativesdk too nativesdk is a cross compiled target and therefore should use the target config, not the native one. Copy the target entries accordingly. Signed-off-by: Richard Purdie --- diff --git a/meta/classes/python3targetconfig.bbclass b/meta/classes/python3targetconfig.bbclass index 5c8457acaa..2476858cae 100644 --- a/meta/classes/python3targetconfig.bbclass +++ b/meta/classes/python3targetconfig.bbclass @@ -15,3 +15,15 @@ do_compile:prepend:class-target() { do_install:prepend:class-target() { export _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata" } + +do_configure:prepend:class-nativesdk() { + export _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata" +} + +do_compile:prepend:class-nativesdk() { + export _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata" +} + +do_install:prepend:class-nativesdk() { + export _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata" +}