diff options
| -rw-r--r-- | meta-oe/recipes-support/libgpiod/libgpiod_1.6.3.bb | 7 |
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 e53426e318..be5be2f8db 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" | |||
| 54 | PACKAGECONFIG_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'tests', '', d)}" | 54 | PACKAGECONFIG_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'tests', '', d)}" |
| 55 | 55 | ||
| 56 | do_install_ptest() { | 56 | do_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 | ||
| 60 | module 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 |
