Andrew Geissler | 6aa7eec | 2023-03-03 12:41:14 -0600 | [diff] [blame^] | 1 | require libgpiod.inc |
| 2 | |
| 3 | LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later & CC-BY-SA-4.0" |
| 4 | LIC_FILES_CHKSUM = " \ |
| 5 | file://LICENSES/GPL-2.0-or-later.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ |
| 6 | file://LICENSES/LGPL-2.1-or-later.txt;md5=4b54a1fd55a448865a0b32d41598759d \ |
| 7 | file://LICENSES/CC-BY-SA-4.0.txt;md5=fba3b94d88bfb9b81369b869a1e9a20f \ |
| 8 | " |
| 9 | |
| 10 | SRC_URI[sha256sum] = "1d1756d465525deb668526571dc6ed7e08f7b8e7745b10fc028208a22fb7adf8" |
| 11 | |
| 12 | S = "${WORKDIR}/libgpiod-2.0" |
| 13 | |
| 14 | # We must enable gpioset-interactive for all gpio-tools tests to pass |
| 15 | PACKAGECONFIG[tests] = "--enable-tests --enable-gpioset-interactive,--disable-tests,kmod util-linux glib-2.0 catch2 libedit" |
| 16 | PACKAGECONFIG[gpioset-interactive] = "--enable-gpioset-interactive,--disable-gpioset-interactive,libedit" |
| 17 | |
| 18 | FILES:${PN}-tools += "${bindir}/gpionotify" |
| 19 | FILES:${PN}-ptest += "${libdir}/libgpiosim.so.*" |
| 20 | |
| 21 | RRECOMMENDS:${PN}-ptest += "kernel-module-gpio-sim" |