mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +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>
(cherry picked from commit 62cd19e3f4)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
parent
9efc3193ec
commit
3db9f65bbd
|
|
@ -15,7 +15,13 @@ S = "${WORKDIR}/libgpiod-2.0"
|
|||
PACKAGECONFIG[tests] = "--enable-tests --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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user