mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
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>
This commit is contained in:
committed by
Khem Raj
parent
ce5cf625cd
commit
62cd19e3f4
@@ -15,7 +15,13 @@ SRC_URI[sha256sum] = "b5367d28d045b36007a4ffd42cceda4c358737ef4f2ce22b0c1d05ec57
|
||||
PACKAGECONFIG[tests] = "--enable-tests --enable-tools --enable-bindings-cxx --enable-gpioset-interactive,--disable-tests,kmod util-linux glib-2.0 catch2 libedit"
|
||||
PACKAGECONFIG[gpioset-interactive] = "--enable-gpioset-interactive,--disable-gpioset-interactive,libedit"
|
||||
|
||||
PACKAGES =+ "${PN}-ptest-dev"
|
||||
FILES:${PN}-tools += "${bindir}/gpionotify"
|
||||
FILES:${PN}-ptest += "${libdir}/libgpiosim.so.*"
|
||||
FILES:${PN}-ptest-dev += "${includedir}/gpiosim.h"
|
||||
|
||||
RRECOMMENDS:${PN}-ptest += "kernel-module-gpio-sim"
|
||||
|
||||
do_install_ptest:append() {
|
||||
install -m 0644 ${S}/tests/gpiosim/gpiosim.h ${D}${includedir}/gpiosim.h
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user