[Buildroot] [PATCH v5] libiio: new package
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sun Dec 21 21:39:30 UTC 2014
Dear Paul Cercueil,
On Tue, 16 Dec 2014 10:34:06 +0100, Paul Cercueil wrote:
> Libiio is a library to ease the development of software interfacing
> Linux Industrial I/O (IIO) devices.
>
> http://wiki.analog.com/resources/tools-software/linux-software/libiio
>
> v2: Simplify greatly the patch (upstream now uses CMake)
> v3: Add support for IPv6 and allow installation of systemd service file
> v4: Added .hash file
> v5: Rework libiio.mk and init.d scripts after feedback from upstream
>
> Signed-off-by: Paul Cercueil <paul.cercueil at analog.com>
> ---
> package/Config.in | 1 +
> package/libiio/Config.in | 43 +++++++++++++++++++++++++++++++++++++++
> package/libiio/S99iiod.sh | 40 +++++++++++++++++++++++++++++++++++++
> package/libiio/libiio.hash | 2 ++
> package/libiio/libiio.mk | 50 ++++++++++++++++++++++++++++++++++++++++++++++
> 5 files changed, 136 insertions(+)
> create mode 100644 package/libiio/Config.in
> create mode 100644 package/libiio/S99iiod.sh
> create mode 100644 package/libiio/libiio.hash
> create mode 100644 package/libiio/libiio.mk
Thanks, applied, after doing a bunch of changes:
[Thomas:
- Remove changelog from the commit log.
- Rename init script to S99iiod instead of S99iiod.sh
- Remove "status" command from init script, and implement "restart"
instead.
- Add dependency on thread support in toolchain.
- Fixup indentation in the .mk file.
- Fixup wrapping in the Config.in help text.]
Also, if you don't have any /sys/bus/iio/devices directory, the iiod
daemon doesn't start, with a mysterious "Unable to create context"
message, which only appears if you start iiod manually (not from the
init script). Maybe it should be improved a bit: make sure to have a
proper error message, and make sure it gets shown when iiod is started
from the init script.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list