python3targetconfig: pull in nativesdk python when building nativesdk recipes
PATCH 1/1 python3targetconfig: pull in nativesdk python when building nativesdk recipes
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).
--- meta/classes-recipe/python3targetconfig.bbclass | 1 + 1 file changed, 1 insertion(+)
meta/classes-recipe/python3targetconfig.bbclass +1 -0
@@ -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() {
Signature · 1 line
2.47.3
Hi,
This fix works for me. It makes sense.
wrynose branch also has the very same issue. Could this fix also be applied there ?
Thanks
Quoted 43 lines · Alexander Kanavin via lists.openembedded.org
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]>--- meta/classes-recipe/python3targetconfig.bbclass | 1 + 1 file changed, 1 insertion(+)meta/classes-recipe/python3targetconfig.bbclass +1
-1@@ -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() { --2.47.3
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#237233):
https://lists.openembedded.org/g/openembedded-core/message/237233
Mute This Topic: https://lists.openembedded.org/mt/119370886/3616735
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 2 lines
João Henrique Ferreira de Freitas - joaohf_at_gmail.com Campinas-SP-Brasil