From: Martin Jansa <martin.jansa@gmail.com>
To: Marek Belisko <marek.belisko@open-nandra.com>
Cc: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-oe][PATCH] recipes-support: Add handling for libgpiod
Date: Tue, 16 May 2017 22:21:52 +0200 [thread overview]
Message-ID: <20170516202152.GA3119@jama> (raw)
In-Reply-To: <1494964615-15539-1-git-send-email-marek.belisko@open-nandra.com>
[-- Attachment #1: Type: text/plain, Size: 2280 bytes --]
On Tue, May 16, 2017 at 09:56:55PM +0200, Marek Belisko wrote:
> libgpiod - C library and tools for interacting with the linux GPIO
> character device
>
> Since linux 4.8 the GPIO sysfs interface is deprecated.
> User space should use the character device instead.
> This library encapsulates the ioctl calls and data structures behind a
> straightforward API.
>
> Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
> ---
> meta-oe/recipes-support/libgpiod/libgpiod_0.2.bb | 25 ++++++++++++++++++++++++
> 1 file changed, 25 insertions(+)
> create mode 100644 meta-oe/recipes-support/libgpiod/libgpiod_0.2.bb
>
> diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_0.2.bb b/meta-oe/recipes-support/libgpiod/libgpiod_0.2.bb
> new file mode 100644
> index 0000000..fe2cd80
> --- /dev/null
> +++ b/meta-oe/recipes-support/libgpiod/libgpiod_0.2.bb
> @@ -0,0 +1,25 @@
> +SUMMARY = "C library and tools for interacting with the linux GPIO character device"
> +HOMEPAGE = "https://github.com/brgl/libgpiod"
> +
> +LICENSE = "LGPLv2.1+"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=2caced0b25dfefd4c601d92bd15116de"
> +
> +UPSTREAM_CHECK_URI = "https://github.com/brgl/libgpiod/releases"
> +
> +SRC_URI = "https://github.com/brgl/libgpiod/archive/v${PV}.tar.gz"
Github archives are regenerated from time to time with different
checksums, please use git fetcher and SRCREV matching with the SHA of
the tag.
> +
> +SRC_URI[md5sum] = "e3430f35b6efa842693d659c0bfb7ad5"
> +SRC_URI[sha256sum] = "de1947f3cb2cc4174364af430309fe6238976658575655bdbd76c60cffa7df92"
> +
> +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} = "${libdir}/*"
What is missing in the default FILES_${PN}?
> +FILES_${PN}-tools = "${bindir}/*"
> --
> 2.7.4
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 201 bytes --]
next prev parent reply other threads:[~2017-05-16 20:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-16 19:56 [meta-oe][PATCH] recipes-support: Add handling for libgpiod Marek Belisko
2017-05-16 20:21 ` Martin Jansa [this message]
2017-05-16 20:49 ` Belisko Marek
2017-05-18 19:22 ` [meta-oe][PATCH v2] " Marek Belisko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170516202152.GA3119@jama \
--to=martin.jansa@gmail.com \
--cc=marek.belisko@open-nandra.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.