From: Alexander Kanavin <[email protected]> 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 <[email protected]> Signed-off-by: Antonin Godard <[email protected]> Signed-off-by: Richard Purdie <[email protected]> (cherry picked from commit f297b18f6b54bfa07b4e3ded98eec962dfdb6f77) Signed-off-by: Yoann Congal <[email protected]> --- meta/classes-recipe/python3targetconfig.bbclass | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/classes-recipe/python3targetconfig.bbclass b/meta/classes-recipe/python3targetconfig.bbclass index 2877665737a..3b9333a4be2 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() {
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#239220): https://lists.openembedded.org/g/openembedded-core/message/239220 Mute This Topic: https://lists.openembedded.org/mt/119897505/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
