mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 17:59:59 +00:00
4339c28ff4
Currently tools are built conditionally depending on whether the corresponding PACKAGECONFIG option has been set and, although they live in a separate libgpiod-tools package, the user cannot simply select it - he has to additionally extend PACKAGECONFIG. While this makes sense for python and C++ bindings, the tools don't have any dependencies other the libgpiod. Make libgpiod-tools an actual stand-alone package: always build them but install them only if user selected libgpiod-tools. Disable setting tools in default PACKAGECONFIGS Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> s
17 lines
449 B
PHP
17 lines
449 B
PHP
SUMMARY = "C library and tools for interacting with the linux GPIO character device"
|
|
|
|
LICENSE = "LGPLv2.1+"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=2caced0b25dfefd4c601d92bd15116de"
|
|
|
|
SRC_URI = "https://www.kernel.org/pub/software/libs/libgpiod/${BP}.tar.xz"
|
|
|
|
inherit autotools pkgconfig
|
|
|
|
PACKAGECONFIG[tests] = "--enable-tests,--disable-tests,kmod udev"
|
|
|
|
EXTRA_OECONF = "--enable-tools"
|
|
|
|
PACKAGES =+ " ${PN}-tools"
|
|
|
|
FILES_${PN}-tools = "${bindir}/*"
|