[oe-commits] [meta-openembedded] 09/09: libgpiod: put gpio utils into an actual separate package

git at git.openembedded.org git at git.openembedded.org
Mon Jul 29 00:13:16 UTC 2019


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit ace44b080395e53c15762b9f20ae0f9762b641ae
Author: Bartosz Golaszewski <bgolaszewski at baylibre.com>
AuthorDate: Sat Jul 27 22:30:20 2019 +0200

    libgpiod: put gpio utils into an actual separate package
    
    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.
    
    Signed-off-by: Bartosz Golaszewski <bgolaszewski at baylibre.com>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta-oe/recipes-support/libgpiod/libgpiod.inc | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/meta-oe/recipes-support/libgpiod/libgpiod.inc b/meta-oe/recipes-support/libgpiod/libgpiod.inc
index 89679cb..07ce35a 100644
--- a/meta-oe/recipes-support/libgpiod/libgpiod.inc
+++ b/meta-oe/recipes-support/libgpiod/libgpiod.inc
@@ -8,11 +8,9 @@ SRC_URI = "https://www.kernel.org/pub/software/libs/libgpiod/${BP}.tar.xz"
 inherit autotools pkgconfig
 
 PACKAGECONFIG[tests] = "--enable-tests,--disable-tests,kmod udev"
-PACKAGECONFIG[tools] = "--enable-tools,--disable-tools,"
+
+EXTRA_OECONF = "--enable-tools"
 
 PACKAGES =+ " ${PN}-tools"
 
 FILES_${PN}-tools = "${bindir}/*"
-
-RRECOMMENDS_TOOLS = "${@bb.utils.contains('PACKAGECONFIG', 'tools', '${PN}-tools', '',d)}"
-RRECOMMENDS_${PN} += "${RRECOMMENDS_TOOLS}"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list