summaryrefslogtreecommitdiffstats
path: root/package/libiio
Commit message (Collapse)AuthorAgeFilesLines
* package/libiio: bump to version 0.15Alexandru Ardelean2019-03-182-2/+2
| | | | | | | | | | | | | | | | | | This change bumps libiio, to version 0.15. This version is currently the most stable version in the series. It contains several fixes over 0.14. 0.16 & 0.17 have been released but they have some issues with backwards compatibility, so they are not yet recommended. Changelog for version 0.15 (over 0.14). Link: https://github.com/analogdevicesinc/libiio/releases/tag/v0.15 Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit 8478bd526f2369addf98579804bbbee01334a024) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package: drop remaining BR2_PACKAGE_LIBAIO_ARCH_SUPPORTSBaruch Siach2018-08-221-3/+2
| | | | | | | | | | | | | | | Commit 5a3f78c91915 (libaio: bump to 0.3.111) removed the definition of BR2_PACKAGE_LIBAIO_ARCH_SUPPORTS, and most references. Remove a few remaining references. Fixes: http://autobuild.buildroot.net/results/724/7244c23a0fbcf27547b5ea639d88033b5a7d9f39/ http://autobuild.buildroot.net/results/be4/be43983767e94ab5c64c3cb3de467840fd6635d2/ http://autobuild.buildroot.net/results/798/798a15a9a064d476927bb49bf534c427e9119c4e/ Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* libaio: bump to 0.3.111Thomas Petazzoni2018-08-211-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Until now, libaio contained some architecture specific code to do the syscalls. In fact, it contained a generic variant of the code called syscall-generic.h, but it was showing a warning when it was used, as if it was "not safe". Consequently, in Buildroot, we had chosen to support libaio only on a the subset of architectures that were explicitly handled by libaio. However, between 0.3.110 and 0.3.111, libaio upstream entirely dropped the architecture-specific code: https://pagure.io/libaio/c/97fd3fc0195500e616e34047cba4846164c411d9?branch=master Consequently, in this patch, we: - Bump libaio to 0.3.111. - Switch to the new upstream at https://pagure.io/libaio/. - Drop the 0001-arches.patch patch, which was adding support for MIPS, since we no longer need architecture-specific code. - Update the remaining patches, and Git-format one of them which wasn't Git-formatted. - Drop the BR2_PACKAGE_LIBAIO_ARCH_SUPPORTS option and all its uses. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* libiio: bump to version 0.14Fabrice Fontaine2018-05-012-2/+3
| | | | | | | Add hash for license file Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* libiio: fix libavahi-client dependencyMarcus Folkesson2017-12-301-2/+2
| | | | | | | Avahi needs avahi-daemon and D-Bus to build avahi-client. Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Revert "libiio: Disable IIOD on Blackfin"Samuel Martin2017-11-031-5/+0
| | | | | | | | | | | This reverts commit 53996bee433f09a91b12aa53b2be0f7d22c0acbe. Commit 93a86b4dec9e73fbe0e186cdde8fb04a36a44762 fixes accept4 support in uclibc on Blackfin, so re-enable iiod on this target. Cc: Paul Cercueil <paul.cercueil@analog.com> Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libiio: add support for Python 3.x bindingsBéla Becker2017-10-072-1/+5
| | | | | | | | | Python3 support was added to libiio in version 0.10. This commit adds the option to compile libiio bindings if python3 was selected instead of python. Signed-off-by: Béla Becker <bela.becker@pcbdesign.hu> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Globally replace $(HOST_DIR)/usr/bin with $(HOST_DIR)/binArnout Vandecappelle2017-07-051-2/+2
| | | | | | | | | | | Since things are no longer installed in $(HOST_DIR)/usr, the callers should also not refer to it. This is a mechanical change with git grep -l '$(HOST_DIR)/usr/bin' | xargs sed -i 's%$(HOST_DIR)/usr/bin%$(HOST_DIR)/bin%g' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libiio: bump version to 0.10Vicente Olivert Riera2017-06-054-90/+3
| | | | | | | | | | | Patch 0001 already included in this release: https://github.com/analogdevicesinc/libiio/commit/913c2cc740d60450e91e066cf38f5654936a6015 Patch 0002 already included in this release: https://github.com/analogdevicesinc/libiio/commit/6e5a40566ee44694b186d4c2cbcf5f8690d8bba4 Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/l*/Config.in: fix ordering of statementsAdam Duskett2017-05-011-6/+6
| | | | | | | | | | | | | The check-package script when ran gives warnings on ordering issues on all of these Config files. This patch cleans up all warnings related to the ordering in the Config files for packages starting with the letter l in the package directory. The appropriate ordering is: type, default, depends on, select, help See http://nightly.buildroot.org/#_config_files for more information. Signed-off-by: Adam Duskett <Adamduskett@outlook.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libiio: Fix tools not linked with pthreadsPaul Cercueil2017-04-041-0/+32
| | | | | | | | | | | | | | | Add a patch cherry-picked from the upstream libiio project. Fixes: http://autobuild.buildroot.net/results/595/595dfd7a17e2bba71844536c9071f7608879e319 http://autobuild.buildroot.net/results/693/69390ba1f7b1460c3217ef88125faeeeda445f20 http://autobuild.buildroot.net/results/71e/71ecc80e891a36305b3dacbd12bf8130fe4fd31f http://autobuild.buildroot.net/results/4d1/4d1d798ac740403e814b843083b14c9a890dfd54 http://autobuild.buildroot.net/results/00f/00ffdfce0e7780a0f5a5dfadf6bfd63e51c7bbb8 http://autobuild.buildroot.net/results/863/863fa72f443c45793df4837992c5c8dc65590c48 Signed-off-by: Paul Cercueil <paul.cercueil@analog.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot, package: use SPDX short identifier for LGPLv2.1/LGPLv2.1+Rahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license string as much as possible. SPDX short identifier for LGPLv2.1/LGPLv2.1+ is LGPL-2.1/LGPL-2.1+. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/LGPLv2.1(\+)?/LGPL-2.1\1/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libiio: don't force specific backends when enabling testsPaul Cercueil2017-04-011-3/+0
| | | | | | | | The test programs will compile just fine even when none of the backends are enabled. Signed-off-by: Paul Cercueil <paul.cercueil@analog.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libiio: explicitly disable matlab bindingsMatthew Fornero2017-03-141-0/+1
| | | | | | | | | | | | | | | | If building on a machine with MATLAB installed, the MATLAB bindings will default to ON, which is not the desired behavior for a cross build. The bindings are designed to be called from within MATLAB, and we are not currently running MATLAB on buildroot-generated targets. This does not preclude the use of the bindings from a host connecting over the network backend (assuming libiio on the host has the bindings enabled). Signed-off-by: Matthew Fornero <mfornero@mathworks.com> Acked-By: Paul Cercueil <paul.cercueil@analog.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libiio: Bump to version 0.9Paul Cercueil2017-02-066-62/+84
| | | | | | | | | | | | This new version introduces a lot of bug fixes and some new API functions. Additionally, the IIO Daemon is now able to share the local IIO devices through USB (using FunctionFS). [Peter: usbd option needs 3.18+ headers, reorder options for menuconfig] Signed-off-by: Paul Cercueil <paul.cercueil@analog.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libiio: Disable IIOD on BlackfinPaul Cercueil2016-08-291-0/+5
| | | | | | | | | | | IIOD uses accept4, which is not yet available on Blackfin. Fixes: http://autobuild.buildroot.net/results/b75/b7552c9325ffcc7f1cb6e114b82648f3280fded6/ [Peter: hide other toolchain comment on bfin] Signed-off-by: Paul Cercueil <paul.cercueil@analog.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libiio: do not install systemd service file, no longer availableThomas Petazzoni2016-08-281-7/+0
| | | | | | | | | | | | | | | | | | Since the bump to libiio 0.7, the systemd service file that used to be in debian/iiod.service no longer exists. The entire debian/ directory has been removed from the upstream project: https://github.com/analogdevicesinc/libiio/commit/5d49f58982b0c15545bc70724304fbc580e6523c Due to this, the installation of this service file fails, and causes build failures. To address this, we simply remove the installation of the systemd service file. Fixes: http://autobuild.buildroot.net/results/ce2fc81466abd9619aa104c96234d1455de3480d/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libiio: Add a patch to fix compilation with old glibcPaul Cercueil2016-08-191-0/+30
| | | | | | | | | | | Cherry-picked from upstream. Fixes: http://autobuild.buildroot.net/results/fa7f7db861c342f4d189f74b983ae9d2751cf29b/ Signed-off-by: Paul Cercueil <paul.cercueil@analog.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libiio: BR2_PACKAGE_LIBIIO_TESTS requires BR2_PACKAGE_LIBIIO_XML_BACKENDPaul Cercueil2016-07-061-0/+1
| | | | | Signed-off-by: Paul Cercueil <paul.cercueil@analog.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libiio: Bump version to 0.7Paul Cercueil2016-07-056-83/+74
| | | | | | | | | | | | | | | | The two previous patches have been merged upstream, so they have been deleted here. Another patch (picked from upstream) has been added to fix the build with thread-less toolchains. Libiio v0.7 provides two new backends, a USB backend (using libusb-1.0) and a serial backend (using libserialport). Additionally, it is now possible to compile libiio with thread-less toolchains. In that case, thread safety is disabled. Signed-off-by: Paul Cercueil <paul.cercueil@analog.com> Reviewed-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libiio: libiio network backend needs threadsRomain Naour2016-07-021-0/+4
| | | | | | | | | | | When libiio network backend is enabled, NEED_THREADS is set in the build system and require a toolchain with treads support. Fixes: http://autobuild.buildroot.net/results/cfc/cfc70094d8f4008f4e660250b1b90a35a2ab384d Signed-off-by: Romain Naour <romain.naour@smile.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libiio: Fix pthread linking for iiodMatthew Fornero2016-06-091-0/+30
| | | | | | | | | | | | | | | Update the iiod CMake configuration to resolve pthread linking issues introduced with commit: 17ee15da70d23c314a3264c87a785101cbd9d85d ("libiio: Bump version to 0.6") Fixes: http://autobuild.buildroot.net/results/ffe/ffec14aa79833a6f0889a87b31dae464d083e6a8/ http://autobuild.buildroot.net/results/49f/49f249632ed021ebe73ee7fab1b55fb3bb4c08f8/ Signed-off-by: Matthew Fornero <mfornero@mathworks.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libiio: fix legal infoPeter Korsgaard2016-06-011-1/+1
| | | | | | | | | Fixes: http://autobuild.buildroot.org/results/778/7789da71553bb633cbea6db83faeee061155b9f8/ The license file is now called COPYING.txt. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libiio: Bump version to 0.6Matthew Fornero2016-05-234-67/+32
| | | | | | | | | | | v0.6 API offers some major additions, including: * iio_device_set_kernel_buffers_counts * iio_buffer_get_poll_fd * iio_bufer_set_blocking_mode * iio_buffer_push_partial Signed-off-by: Matthew Fornero <mfornero@mathworks.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libiio: test programs require threadsBaruch Siach2015-08-181-0/+4
| | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/228/228a32167d05337acf17b0e3689aa91e8a67d8fb/ http://autobuild.buildroot.net/results/86a/86adb968659fec56684ba80e1c4230230fd7a1c8/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libiio: Add a patch from upstream to fix building without a C++ compilerPaul Cercueil2015-07-221-0/+36
| | | | | | | | | | | This fixes a build issue reported by the autobuilder: http://autobuild.buildroot.net/results/5b0d02aa3bdb4cddb0d316c99fada2e7ba9f9c1d/ [Thomas: add autobuilder reference, as suggested by Baruch.] Signed-off-by: Paul Cercueil <paul.cercueil@analog.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libiio: Bump version to 0.5Paul Cercueil2015-07-185-34/+43
| | | | | | | | | | | The package now offers the possibility to install Python and/or C# bindings if the Python and Mono packages are detected. v2: Patch generated with 'git format-patch -M' and fix indentation in libiio.mk v3: Updated libiio.hash file Signed-off-by: Paul Cercueil <paul.cercueil@analog.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: remove non-IPv6 dependencies and tweaksGustavo Zacarias2015-04-221-1/+1
| | | | | | | | Now that IPv6 is mandatory remove package dependencies and conditionals for it. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libiio: move systemd service file to /usr/libMike Williams2015-03-201-2/+2
| | | | | Signed-off-by: Mike Williams <mike@mikebwilliams.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libiio: Drop requirement of threading support in the toolchainPaul Cercueil2015-01-081-4/+0
| | | | | | | | | The libiio library will compile fine with a toolchain that doesn't support threads (tested with br-arm-full-nothread.config). Only the IIOD program requires support for threading. Signed-off-by: Paul Cercueil <paul.cercueil@analog.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libiio: fix static buildSamuel Martin2014-12-301-0/+42
| | | | | | | | | | | | | | Use the CMake module provided by libxml2 instead of the one from CMake to correctly set the cflags and ldflags. Fixes: http://autobuild.buildroot.net/results/964f98fafdcd7e994ea25cf0993915d81537c31c/ Note that this patch needs the following one to be merged in libxml2: https://mail.gnome.org/archives/xml/2014-December/msg00015.html Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/libiio: do not force shared object buildSamuel Martin2014-12-271-0/+29
| | | | | | | | | | | | | | libiio correctly builds as a static library, there is no obvious reason to force the shared object build. So, let the CMake BUILD_SHARED_LIBS variable handles the type of library built. This libiio patch has already been submitted upstream: https://github.com/analogdevicesinc/libiio/pull/6 Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libiio: new packagePaul Cercueil2014-12-214-0/+129
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 [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.] Signed-off-by: Paul Cercueil <paul.cercueil@analog.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
OpenPOWER on IntegriCloud