summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support
diff options
context:
space:
mode:
authorSigned-off-by: Bartosz Golaszewski <brgl@bgdev.pl>2021-06-09 21:30:30 +0200
committerKhem Raj <raj.khem@gmail.com>2021-06-09 12:53:53 -0700
commit46eb101cf7ce6510adc732a347506f48c78a3fab (patch)
tree6df8443bdd71c894bd2ff9dbf5be728cb7d869b3 /meta-oe/recipes-support
parent18960fe1c162dce6d241c345a059902a26cff2b4 (diff)
downloadmeta-openembedded-46eb101cf7ce6510adc732a347506f48c78a3fab.tar.gz
Revert "libgpiod: ptest: warn if the gpio-mockup kernel module is not selected"
This reverts commit 977c5f56198f075376f753b0b4178ecb35ad02ec. This recipe doesn't see the final value of KERNEL_FEATURES that the linux-yocto recipe uses - that's why this warning was always triggered if the gpio-mockup feature was not defined globally in this variable. The linux-yocto recipe pulls in gpio-mockup automatically if ptest is in DISTRO_FEATURES so we don't really needs thich check. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> 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_1.6.3.bb7
1 files changed, 0 insertions, 7 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 e53426e31..be5be2f8d 100644
--- a/meta-oe/recipes-support/libgpiod/libgpiod_1.6.3.bb
+++ b/meta-oe/recipes-support/libgpiod/libgpiod_1.6.3.bb
@@ -54,13 +54,6 @@ RRECOMMENDS_${PN}-ptest += "kernel-module-gpio-mockup"
54PACKAGECONFIG_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'tests', '', d)}" 54PACKAGECONFIG_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'tests', '', d)}"
55 55
56do_install_ptest() { 56do_install_ptest() {
57 if [ "${PREFERRED_PROVIDER_virtual/kernel}" = "linux-yocto" ] && \
58 ${@bb.utils.contains('KERNEL_FEATURES', 'features/gpio/mockup.scc', 'false', 'true',d)}; then
59 bbwarn "libgpiod test-suites need the gpio-mockup
60module and will not work without it. Consider adding
61'features/gpio/mockup.scc' to KERNEL_FEATURES"
62 fi
63
64 install -d ${D}${PTEST_PATH}/tests 57 install -d ${D}${PTEST_PATH}/tests
65 58
66 # These are the core C library tests 59 # These are the core C library tests