diff options
| author | Peter Marko <peter.marko@siemens.com> | 2022-05-20 10:58:43 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-05-24 08:39:45 -0700 |
| commit | 1de8b9c7e2727fb66c46c41deb843a0dfa7a811e (patch) | |
| tree | 0d758a8494e789de6271b23a1252aee41b19bce2 /meta-oe/recipes-support/libgpiod | |
| parent | 5bffa3f2f2c698da53fa5c4ad4418fc3087fe48d (diff) | |
| download | meta-openembedded-1de8b9c7e2727fb66c46c41deb843a0dfa7a811e.tar.gz | |
libgpiod: move test dependencies to ptest package
This reverts and reworks commit e75cc87c4f944dff766c426fafafd48c378544fe
These tools are needed by test-suites, not the package itself.
I do not want bash (gpl3) or python (big/lot of dependencies)
in my release image when I have ptest enabled in my distro for
sdk/testing image.
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/libgpiod')
| -rw-r--r-- | meta-oe/recipes-support/libgpiod/libgpiod_1.6.3.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_1.6.3.bb b/meta-oe/recipes-support/libgpiod/libgpiod_1.6.3.bb index 35e68b7e24..2cccf93bd5 100644 --- a/meta-oe/recipes-support/libgpiod/libgpiod_1.6.3.bb +++ b/meta-oe/recipes-support/libgpiod/libgpiod_1.6.3.bb | |||
| @@ -14,7 +14,7 @@ SRC_URI[sha256sum] = "841be9d788f00bab08ef22c4be5c39866f0e46cb100a3ae49ed816ac9c | |||
| 14 | 14 | ||
| 15 | inherit autotools pkgconfig python3native ptest | 15 | inherit autotools pkgconfig python3native ptest |
| 16 | 16 | ||
| 17 | PACKAGECONFIG[tests] = "--enable-tests,--disable-tests,kmod udev glib-2.0 catch2,bats python3-packaging" | 17 | PACKAGECONFIG[tests] = "--enable-tests,--disable-tests,kmod udev glib-2.0 catch2" |
| 18 | PACKAGECONFIG[cxx] = "--enable-bindings-cxx,--disable-bindings-cxx" | 18 | PACKAGECONFIG[cxx] = "--enable-bindings-cxx,--disable-bindings-cxx" |
| 19 | PACKAGECONFIG[python3] = "--enable-bindings-python,--disable-bindings-python,python3" | 19 | PACKAGECONFIG[python3] = "--enable-bindings-python,--disable-bindings-python,python3" |
| 20 | 20 | ||
| @@ -54,6 +54,7 @@ RRECOMMENDS:${PN}-ptest += " \ | |||
| 54 | coreutils \ | 54 | coreutils \ |
| 55 | ${@bb.utils.contains('PACKAGECONFIG', 'python3', 'python3-unittest', '', d)} \ | 55 | ${@bb.utils.contains('PACKAGECONFIG', 'python3', 'python3-unittest', '', d)} \ |
| 56 | " | 56 | " |
| 57 | RDEPENDS:${PN}-ptest += "bats python3-packaging" | ||
| 57 | 58 | ||
| 58 | PACKAGECONFIG:append = " ${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'tests', '', d)}" | 59 | PACKAGECONFIG:append = " ${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'tests', '', d)}" |
| 59 | 60 | ||
