Commit Graph

22 Commits

Author SHA1 Message Date
Rosen Penev 2e654b19f3 treewide: back to cmake.mk
Ninja was merged to base and therefore we can now use normal cmake.mk

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-06-12 21:05:01 -07:00
Rosen Penev a31b732007 treewide: build CMake projects with Ninja
faster to compile.

A small selection of packages was tested going from:

Executed in  696.30 secs   fish           external
   usr time   82.98 mins  395.00 micros   82.98 mins
   sys time    9.02 mins    0.00 micros    9.02 mins

to:

Executed in  592.20 secs   fish           external
   usr time   84.84 mins  361.00 micros   84.84 mins
   sys time    8.85 mins   57.00 micros    8.85 mins

Tested by running make -j 12 and wiping staging/build_dir/target_x

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-27 21:51:50 -07:00
Sebastian Kemper c76c8f0920 libiio: allow access to iconv
Since commit d18692c libxml2 is linked against iconv. Now libiio needs
access to iconv as well. Without it the build fails.

[ 32%] Building C object CMakeFiles/iio.dir/lock.c.o
[ 34%] Building C object CMakeFiles/iio.dir/iiod-client.c.o
[ 37%] Linking C shared library libiio.so
/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_generic_gcc-8.4.0_musl/bin/../lib/gcc/aarch64-openwrt-linux-musl/8.4.0/../../../../aarch64-openwrt-linux-musl/bin/ld: cannot find -liconv
collect2: error: ld returned 1 exit status

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-02-09 23:31:04 +01:00
Michael Heimpold c16abfb3b5 libiio: fix linker error when XML backend is not selected
It seems to be an upstream bug which prevents linking when XML backend
is not selected:
../libiio.so.0.21: undefined reference to `encode_xml_ndup'

Until this is clarified with upstream, prevent OpenWrt users from
deselecting the XML backend. This increases the footprint of this
package, but renders it usable again.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2020-09-14 21:49:43 +02:00
Rosen Penev fe752876f0
libiio: enable xml by default
iio-utils requires it. Also made an @ dependency.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-09-11 22:34:02 -07:00
Michael Heimpold 08b7723cc3 libiio: update to 0.21
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2020-09-10 21:40:12 +02:00
Petr Štetiar a5e40ac639 libiio: bump to latest release v0.19
While at it making it as well kernel 5.4 compatible by backporting
upstream patch which synchronizes channel types and modifier lists in
the headers.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-03-07 15:08:53 +01:00
Michael Heimpold d44ab1a122 libiio: Update to 0.18
While at, fix a minor nitpick while installing shared library symlinks.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2019-09-16 23:19:15 +02:00
Rosen Penev e2518d258a
libiio: Update to 0.16
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-12-17 13:54:19 -08:00
Martin Schiller be0e664fb9 libiio: add missing dependency to zlib
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2018-08-23 08:52:59 +02:00
Michael Heimpold 0356afbc12 libiio: update to 0.15
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2018-05-21 14:52:46 +02:00
Michael Heimpold 457594fdf7 libiio: rework backend selection (fixes #5637)
Provide configuration items to select individual backends. This
also allows to fine-tune the package dependencies.
In order to address #5637, we make this dep unconditionally
until upstream allow to opt-in/opt-out libavahi support.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2018-03-04 14:21:46 +01:00
Michael Heimpold 59c979d595 libiio: update to 0.14
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2018-02-11 18:29:07 +01:00
Michael Heimpold 6a55acc519 libiio: update to 0.12
- remove upstreamed patch
- remove dependency to libavahi-common which does not exist,
  seems that I have confused library name vs package name (fixes #5480)
(- only compile tested at the moment)

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2018-01-20 22:03:09 +01:00
Michael Heimpold b9e0b2680c libiio: fix copy & paste error for iiod description
At the moment, the description for libiio is hidden by the short one, which
is intended for iiod. Fix this by removing the redefinition.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-10-31 21:36:55 +01:00
Michael Heimpold 493c69efb5 libiio: update to 0.11
While at, add a missing word in the description of the -utils package.

(Only compile tested at the moment for mxs platform.)

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-10-31 12:57:11 +01:00
Stijn Tintel ebf5896009 libiio: add iiod init script
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2017-10-20 19:14:25 +03:00
Michael Heimpold c947329c64 libiio: add missing dependencies to avahi
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-07-02 23:34:34 +02:00
Michael Heimpold cdf1bb3538 libiio: fix typo from previous commit
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-07-01 11:48:18 +02:00
Michael Heimpold d2301d4865 libiio: make optional dependencies conditional
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-06-30 23:46:55 +02:00
Michael Heimpold dd76fb632b libiio: add missing dependency to libusb
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-06-24 00:03:21 +02:00
Michael Heimpold 5c8cbdccca libiio: add new package
libiio is a library for interfacing with Linux's Industrial Input/Output (IIO)
subsystem. The Linux IIO subsystem is intended to provide support for devices
that in some sense are analog to digital or digital to analog converters.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-06-22 23:49:30 +02:00