mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-16 22:36:21 +00:00
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>
This commit is contained in:
parent
f1607d9617
commit
936ae8ef2e
@ -28,7 +28,8 @@ RDEPENDS:${PN}-ptest += " \
|
|||||||
export LINK_SYSTEM_LIBGPIOD = "1"
|
export LINK_SYSTEM_LIBGPIOD = "1"
|
||||||
|
|
||||||
do_compile_ptest() {
|
do_compile_ptest() {
|
||||||
${STAGING_BINDIR_NATIVE}/python3-native/python3 build_tests.py
|
setup_target_config
|
||||||
|
nativepython3 build_tests.py
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install_ptest() {
|
do_install_ptest() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user