mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-16 14:05:06 +00:00
libgpiod: modify RDEPENDS for ptest
The current use of RDEPENDS to add a dependency on bats results in the QA warning/error lib32-libgpiod package lib32-libgpiod-ptest-dev - suspicious values 'bats-dev' in RRECOMMENDS [multilib] when building lib32-libgpiod with ptest not enabled. We add the dependency only if ptest is enabled. Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 9904bd6a24ed9327bd05926ba28f9c2ea49e34dd) Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
parent
7d4883e0a0
commit
b5f5c8859c
@ -38,7 +38,7 @@ FILES:${PN}-ptest += " \
|
|||||||
FILES:libgpiodcxx = "${libdir}/libgpiodcxx.so.*"
|
FILES:libgpiodcxx = "${libdir}/libgpiodcxx.so.*"
|
||||||
|
|
||||||
RRECOMMENDS:${PN}-ptest += "coreutils"
|
RRECOMMENDS:${PN}-ptest += "coreutils"
|
||||||
RDEPENDS:${PN}-ptest += "bats"
|
RDEPENDS:${PN}-ptest += "${@bb.utils.contains('PTEST_ENABLED', '1', 'bats', '', d)}"
|
||||||
|
|
||||||
do_install_ptest() {
|
do_install_ptest() {
|
||||||
install -d ${D}${PTEST_PATH}/tests/
|
install -d ${D}${PTEST_PATH}/tests/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user