From: Bartosz Golaszewski <bartosz.golaszew...@linaro.org> The python3targetconfig class does not setup the build config for target in do_ptest_compile_base so we need to do this manually. While at it: use the provided nativepython3 command instead of using the full path.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszew...@linaro.org> --- meta-python/recipes-devtools/python/python3-gpiod_2.1.3.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta-python/recipes-devtools/python/python3-gpiod_2.1.3.bb b/meta-python/recipes-devtools/python/python3-gpiod_2.1.3.bb index ef2f01fd4..310694ade 100644 --- a/meta-python/recipes-devtools/python/python3-gpiod_2.1.3.bb +++ b/meta-python/recipes-devtools/python/python3-gpiod_2.1.3.bb @@ -28,7 +28,8 @@ RDEPENDS:${PN}-ptest += " \ export LINK_SYSTEM_LIBGPIOD = "1" do_compile_ptest() { - ${STAGING_BINDIR_NATIVE}/python3-native/python3 build_tests.py + setup_target_config + nativepython3 build_tests.py } do_install_ptest() { -- 2.40.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#106764): https://lists.openembedded.org/g/openembedded-devel/message/106764 Mute This Topic: https://lists.openembedded.org/mt/102608760/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-