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-08 23:07:16 -0700 |
commit | 4f72481c68575fda086b74479a2d937e8053fcd5 (patch) | |
tree | 68a756d546261d27c6e78a662b6d85e9fe231852 /meta-oe/recipes-support/libgpiod | |
parent | f6d6122ba70de9fcd36a4bb62aa7bf154b3d202d (diff) | |
download | meta-openembedded-4f72481c68575fda086b74479a2d937e8053fcd5.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/libgpiod')
-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 | ||