From: Alexander Kanavin Date: Mon, 18 May 2026 11:16:59 +0000 (+0200) Subject: python3targetconfig: pull in nativesdk python when building nativesdk recipes X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=f297b18f6b54bfa07b4e3ded98eec962dfdb6f77;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git python3targetconfig: pull in nativesdk python when building nativesdk recipes For the class to work, target python needs to be present in the target sysroot. This was done only for :target builds but not for :nativesdk ones, and this patch addresses that. The issue was reported in https://lists.openembedded.org/g/openembedded-core/message/237188 (but the proposed fix there isn't right). Signed-off-by: Alexander Kanavin Signed-off-by: Antonin Godard Signed-off-by: Richard Purdie --- diff --git a/meta/classes-recipe/python3targetconfig.bbclass b/meta/classes-recipe/python3targetconfig.bbclass index 2877665737..3b9333a4be 100644 --- a/meta/classes-recipe/python3targetconfig.bbclass +++ b/meta/classes-recipe/python3targetconfig.bbclass @@ -8,6 +8,7 @@ inherit python3native EXTRA_PYTHON_DEPENDS ?= "" EXTRA_PYTHON_DEPENDS:class-target = "python3" +EXTRA_PYTHON_DEPENDS:class-nativesdk = "nativesdk-python3" DEPENDS:append = " ${EXTRA_PYTHON_DEPENDS}" setup_target_config() {