diff options
author | Bartosz Golaszewski <brgl@bgdev.pl> | 2021-06-04 10:09:14 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-06-04 07:08:13 -0700 |
commit | 3018b3af38f5dc5681c58929c2cd8b0f1321c02a (patch) | |
tree | b864428d4e17fb7e6268b56530363a1de4574a0a /meta-oe/recipes-support | |
parent | 657bbdf1633424337cf6a137cb977d6330fe0d86 (diff) | |
download | meta-openembedded-3018b3af38f5dc5681c58929c2cd8b0f1321c02a.tar.gz |
libgpiod: ptest: only rrecommend a single module that we need
We don't need to pull in all kernel modules. It's enough to just
rrecommend gpio-mockup.
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.bb | 2 |
1 files changed, 1 insertions, 1 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 8dda8a2a6..48a1e23ef 100644 --- a/meta-oe/recipes-support/libgpiod/libgpiod_1.6.3.bb +++ b/meta-oe/recipes-support/libgpiod/libgpiod_1.6.3.bb | |||
@@ -48,7 +48,7 @@ FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}/*.so" | |||
48 | FILES_${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/*.a" | 48 | FILES_${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/*.a" |
49 | 49 | ||
50 | RRECOMMENDS_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'python3', '${PN}-python', '', d)}" | 50 | RRECOMMENDS_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'python3', '${PN}-python', '', d)}" |
51 | RRECOMMENDS_${PN}-ptest += "kernel-modules" | 51 | RRECOMMENDS_${PN}-ptest += "kernel-module-gpio-mockup" |
52 | 52 | ||
53 | PACKAGECONFIG_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'tests', '', d)}" | 53 | PACKAGECONFIG_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'tests', '', d)}" |
54 | 54 | ||