diff options
| author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-11-15 17:47:04 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-11-15 09:51:46 -0800 |
| commit | 936ae8ef2e7943a8bc9fba33ef099901e59a028f (patch) | |
| tree | 5493441df1bfbed14e0357b91c309b7020368459 /meta-python | |
| parent | f1607d9617a515e8ae61f1c31e193b0dee2333b6 (diff) | |
| download | meta-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.bb | 3 |
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 += " \ | |||
| 28 | export LINK_SYSTEM_LIBGPIOD = "1" | 28 | export LINK_SYSTEM_LIBGPIOD = "1" |
| 29 | 29 | ||
| 30 | do_compile_ptest() { | 30 | do_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 | ||
| 34 | do_install_ptest() { | 35 | do_install_ptest() { |
