diff options
| author | Xiangyu Chen <xiangyu.chen@windriver.com> | 2024-04-09 11:02:27 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-04-14 08:38:38 -0700 |
| commit | f750d4a47ea404234a06355a4629e4d221f4e3c9 (patch) | |
| tree | 494b5d55271d179337280806262e759d5ddcf509 /meta-oe/recipes-support | |
| parent | c0bf970f5fabe6581b75fbea74cdb7f9952fa64b (diff) | |
| download | meta-openembedded-f750d4a47ea404234a06355a4629e4d221f4e3c9.tar.gz | |
libgpiod: fix QA error in ptest RDEPENDS
The bash in ptest RDEPENDS would cause following QA error:
ERROR: QA Issue: lib32-libgpiod package lib32-libgpiod-ptest-dev -
suspicious values 'bash-dev' in RRECOMMENDS [multilib]
Add a ptest enable dependency to avoid this QA error happens.
Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support')
| -rw-r--r-- | meta-oe/recipes-support/libgpiod/libgpiod_2.1.1.bb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_2.1.1.bb b/meta-oe/recipes-support/libgpiod/libgpiod_2.1.1.bb index c62c9a3567..4c13d67eba 100644 --- a/meta-oe/recipes-support/libgpiod/libgpiod_2.1.1.bb +++ b/meta-oe/recipes-support/libgpiod/libgpiod_2.1.1.bb | |||
| @@ -21,8 +21,7 @@ FILES:${PN}-ptest += "${libdir}/libgpiosim.so.*" | |||
| 21 | FILES:${PN}-ptest-dev += "${includedir}/gpiosim.h" | 21 | FILES:${PN}-ptest-dev += "${includedir}/gpiosim.h" |
| 22 | 22 | ||
| 23 | RDEPENDS:${PN}-ptest += " \ | 23 | RDEPENDS:${PN}-ptest += " \ |
| 24 | bash \ | 24 | ${@bb.utils.contains('PTEST_ENABLED', '1', 'shunit2 bash', '', d)} \ |
| 25 | ${@bb.utils.contains('PTEST_ENABLED', '1', 'shunit2', '', d)} \ | ||
| 26 | " | 25 | " |
| 27 | RRECOMMENDS:${PN}-ptest += "kernel-module-gpio-sim kernel-module-configfs" | 26 | RRECOMMENDS:${PN}-ptest += "kernel-module-gpio-sim kernel-module-configfs" |
| 28 | 27 | ||
