summaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>2023-11-15 17:47:04 +0100
committerKhem Raj <raj.khem@gmail.com>2023-11-15 09:51:46 -0800
commit936ae8ef2e7943a8bc9fba33ef099901e59a028f (patch)
tree5493441df1bfbed14e0357b91c309b7020368459 /meta-python
parentf1607d9617a515e8ae61f1c31e193b0dee2333b6 (diff)
downloadmeta-openembedded-936ae8ef2e7943a8bc9fba33ef099901e59a028f.tar.gz
python3-gpiod: setup target config in ptest compile
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.golaszewski@linaro.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python')
-rw-r--r--meta-python/recipes-devtools/python/python3-gpiod_2.1.3.bb3
1 files changed, 2 insertions, 1 deletions
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 ef2f01fd46..310694ade7 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 += " \
28export LINK_SYSTEM_LIBGPIOD = "1" 28export LINK_SYSTEM_LIBGPIOD = "1"
29 29
30do_compile_ptest() { 30do_compile_ptest() {
31 ${STAGING_BINDIR_NATIVE}/python3-native/python3 build_tests.py 31 setup_target_config
32 nativepython3 build_tests.py
32} 33}
33 34
34do_install_ptest() { 35do_install_ptest() {