[oe-commits] [meta-openembedded] 36/58: libgpiod: split recipe into .inc and .bb files

git at git.openembedded.org git at git.openembedded.org
Sun May 6 20:02:14 UTC 2018


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

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

commit 266ccace9cd382d565ff1585c7bd8c19da147a39
Author: Bartosz Golaszewski <brgl at bgdev.pl>
AuthorDate: Tue Apr 17 16:20:18 2018 +0200

    libgpiod: split recipe into .inc and .bb files
    
    The build works the same for v0.x and v1.x series - leave only the
    hashes in the .bb file and put everything else into .inc.
    
    Signed-off-by: Bartosz Golaszewski <brgl at bgdev.pl>
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 .../libgpiod/{libgpiod_0.3.2.bb => libgpiod.inc}   |  3 ---
 meta-oe/recipes-support/libgpiod/libgpiod_0.3.2.bb | 22 +---------------------
 2 files changed, 1 insertion(+), 24 deletions(-)

diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_0.3.2.bb b/meta-oe/recipes-support/libgpiod/libgpiod.inc
similarity index 82%
copy from meta-oe/recipes-support/libgpiod/libgpiod_0.3.2.bb
copy to meta-oe/recipes-support/libgpiod/libgpiod.inc
index 2006889..cd77506 100644
--- a/meta-oe/recipes-support/libgpiod/libgpiod_0.3.2.bb
+++ b/meta-oe/recipes-support/libgpiod/libgpiod.inc
@@ -5,9 +5,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=2caced0b25dfefd4c601d92bd15116de"
 
 SRC_URI = "https://www.kernel.org/pub/software/libs/libgpiod/${BP}.tar.xz"
 
-SRC_URI[md5sum] = "9c1966bea7dffd59bd099a8b2930e2ea"
-SRC_URI[sha256sum] = "50c7862428ca90b58672e2475aea66d33a6fc86c6bab1928c0660f3aedf44a37"
-
 inherit autotools pkgconfig
 
 # enable tools
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_0.3.2.bb b/meta-oe/recipes-support/libgpiod/libgpiod_0.3.2.bb
index 2006889..ea785ad 100644
--- a/meta-oe/recipes-support/libgpiod/libgpiod_0.3.2.bb
+++ b/meta-oe/recipes-support/libgpiod/libgpiod_0.3.2.bb
@@ -1,24 +1,4 @@
-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"
+require libgpiod.inc
 
 SRC_URI[md5sum] = "9c1966bea7dffd59bd099a8b2930e2ea"
 SRC_URI[sha256sum] = "50c7862428ca90b58672e2475aea66d33a6fc86c6bab1928c0660f3aedf44a37"
-
-inherit autotools pkgconfig
-
-# enable tools
-PACKAGECONFIG ?= "tools"
-
-PACKAGECONFIG[tests] = "--enable-tests,--disable-tests,kmod udev"
-PACKAGECONFIG[tools] = "--enable-tools,--disable-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