mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
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>
This commit is contained in:
@@ -21,8 +21,7 @@ FILES:${PN}-ptest += "${libdir}/libgpiosim.so.*"
|
|||||||
FILES:${PN}-ptest-dev += "${includedir}/gpiosim.h"
|
FILES:${PN}-ptest-dev += "${includedir}/gpiosim.h"
|
||||||
|
|
||||||
RDEPENDS:${PN}-ptest += " \
|
RDEPENDS:${PN}-ptest += " \
|
||||||
bash \
|
${@bb.utils.contains('PTEST_ENABLED', '1', 'shunit2 bash', '', d)} \
|
||||||
${@bb.utils.contains('PTEST_ENABLED', '1', 'shunit2', '', d)} \
|
|
||||||
"
|
"
|
||||||
RRECOMMENDS:${PN}-ptest += "kernel-module-gpio-sim kernel-module-configfs"
|
RRECOMMENDS:${PN}-ptest += "kernel-module-gpio-sim kernel-module-configfs"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user