diff options
| author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-04-14 13:51:45 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-04-14 08:45:14 -0700 |
| commit | 62cd19e3f4b971483d6250c9ca64be12758e89f8 (patch) | |
| tree | cd326977f4f9d20b30031e71b3d180bdc6456a5f | |
| parent | ce5cf625cdfc0adbffa344de7c59274cb89f5612 (diff) | |
| download | meta-openembedded-62cd19e3f4b971483d6250c9ca64be12758e89f8.tar.gz | |
libgpiod: install the libgpiosim header
This header is used for building tests. While libgpiod can access it
from the source tree, the python bindings that live in a separate recipe
must be able to use it from its recipe sysroot.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-support/libgpiod/libgpiod_2.0.1.bb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_2.0.1.bb b/meta-oe/recipes-support/libgpiod/libgpiod_2.0.1.bb index 50b9203a75..337554cd89 100644 --- a/meta-oe/recipes-support/libgpiod/libgpiod_2.0.1.bb +++ b/meta-oe/recipes-support/libgpiod/libgpiod_2.0.1.bb | |||
| @@ -15,7 +15,13 @@ SRC_URI[sha256sum] = "b5367d28d045b36007a4ffd42cceda4c358737ef4f2ce22b0c1d05ec57 | |||
| 15 | PACKAGECONFIG[tests] = "--enable-tests --enable-tools --enable-bindings-cxx --enable-gpioset-interactive,--disable-tests,kmod util-linux glib-2.0 catch2 libedit" | 15 | PACKAGECONFIG[tests] = "--enable-tests --enable-tools --enable-bindings-cxx --enable-gpioset-interactive,--disable-tests,kmod util-linux glib-2.0 catch2 libedit" |
| 16 | PACKAGECONFIG[gpioset-interactive] = "--enable-gpioset-interactive,--disable-gpioset-interactive,libedit" | 16 | PACKAGECONFIG[gpioset-interactive] = "--enable-gpioset-interactive,--disable-gpioset-interactive,libedit" |
| 17 | 17 | ||
| 18 | PACKAGES =+ "${PN}-ptest-dev" | ||
| 18 | FILES:${PN}-tools += "${bindir}/gpionotify" | 19 | FILES:${PN}-tools += "${bindir}/gpionotify" |
| 19 | FILES:${PN}-ptest += "${libdir}/libgpiosim.so.*" | 20 | FILES:${PN}-ptest += "${libdir}/libgpiosim.so.*" |
| 21 | FILES:${PN}-ptest-dev += "${includedir}/gpiosim.h" | ||
| 20 | 22 | ||
| 21 | RRECOMMENDS:${PN}-ptest += "kernel-module-gpio-sim" | 23 | RRECOMMENDS:${PN}-ptest += "kernel-module-gpio-sim" |
| 24 | |||
| 25 | do_install_ptest:append() { | ||
| 26 | install -m 0644 ${S}/tests/gpiosim/gpiosim.h ${D}${includedir}/gpiosim.h | ||
| 27 | } | ||
