Commit Graph

10 Commits

Author SHA1 Message Date
Martin Hundebøll bb57bac845 libgpiod: add packageconfig for python bindings
Signed-off-by: Martin Hundebøll <mnhu@prevas.dk>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-26 21:10:55 -07:00
Martin Hundebøll 034bb63ad8 libgpiod: update to 1.1
Add native dependency on autoconf-archive as it is now used by the
libgpiod autotools.

Signed-off-by: Martin Hundebøll <mnhu@prevas.dk>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-26 21:10:55 -07:00
Bartosz Golaszewski 1d1a1ae7a5 libgpiod: add support for v1.x series
Add a recipe for libgpiod v1.0.1. It can live next to the one for v0.3.3.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-05-01 18:15:44 -07:00
Bartosz Golaszewski 22aca9c557 libgpiod: bump version to v0.3.3
This is a bug fix release of the v0.3.x series.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-05-01 18:15:44 -07:00
Bartosz Golaszewski 266ccace9c 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@bgdev.pl>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-05-01 18:15:44 -07:00
Bartosz Golaszewski 331e3d406e libgpiod: include the version in the recipe filename
As the first step in supporting both v0.x and v1.x series: include the
version in the recipe filename.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-05-01 18:15:44 -07:00
Martin Hundebøll c09fcd618e libgpiod: fix packaging of tools
The default packaging adds files from ${bindir} to the primary package,
so that following packages don't see any files in ${bindir}. This causes
the libgpiod-tools package to empty, as it is appended (+=) to PACKAGES.

Change the assignment to PACKAGES to a prepend (=+) to populate the
libgpiod-tools package with the gpio{detect,find,get,info,mon,set}
executables.

To avoid missing tools for existing installations of libgpiod, the
libgpiod-tools package is setup as a recommendation by libgpiod when the
tools package config is enabled.

Signed-off-by: Martin Hundebøll <mnhu@prevas.dk>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-21 18:41:47 -07:00
Bartosz Golaszewski 4ab1b815ca libgpiod: bump version to v0.3.2
Bug fix release:
- correctly handle signal interrupts when polling in gpiod_simple_event_loop()
- fix the linking order when building with static libraries
- pass the correct consumer string to gpiod_simple_get_value_multiple() in
  gpioget
- fix a line test case: don't use open-drain or open-source flags for input
  mode
- fix the flags passed to ar in order to supress a build warning
- set the last error code in gpiod_chip_open_by_label() to ENOENT if a chip
  can't be found

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-11-15 16:34:05 -08:00
Bartosz Golaszewski 453cd9bc0c libgpiod: bump version to v0.3.1
The project is now hosted at kernel.org. Updates since v0.2 include
a couple bug-fixes and new features for gpiomon.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-18 10:17:56 +02:00
Marek Belisko ce3ad5a67b recipes-support: Move libgpiod to meta-oe directory
Previously it was placed in meta directory which is
wrong. Move to meta-oe.

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-06-05 11:01:46 +02:00