summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/libgpiod/libgpiod.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-support/libgpiod/libgpiod.inc')
-rw-r--r--meta-oe/recipes-support/libgpiod/libgpiod.inc21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod.inc b/meta-oe/recipes-support/libgpiod/libgpiod.inc
new file mode 100644
index 000000000..cd7750623
--- /dev/null
+++ b/meta-oe/recipes-support/libgpiod/libgpiod.inc
@@ -0,0 +1,21 @@
1SUMMARY = "C library and tools for interacting with the linux GPIO character device"
2
3LICENSE = "LGPLv2.1+"
4LIC_FILES_CHKSUM = "file://COPYING;md5=2caced0b25dfefd4c601d92bd15116de"
5
6SRC_URI = "https://www.kernel.org/pub/software/libs/libgpiod/${BP}.tar.xz"
7
8inherit autotools pkgconfig
9
10# enable tools
11PACKAGECONFIG ?= "tools"
12
13PACKAGECONFIG[tests] = "--enable-tests,--disable-tests,kmod udev"
14PACKAGECONFIG[tools] = "--enable-tools,--disable-tools,"
15
16PACKAGES =+ " ${PN}-tools"
17
18FILES_${PN}-tools = "${bindir}/*"
19
20RRECOMMENDS_TOOLS = "${@bb.utils.contains('PACKAGECONFIG', 'tools', '${PN}-tools', '',d)}"
21RRECOMMENDS_${PN} += "${RRECOMMENDS_TOOLS}"