aboutsummaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3-adas
diff options
context:
space:
mode:
authorGrigory Kletsko <grigory.kletsko@cogentembedded.com>2017-06-14 14:33:11 +0300
committerGrigory Kletsko <grigory.kletsko@cogentembedded.com>2017-06-14 14:33:11 +0300
commitf712721906fd39a9a63d73d7a22a34d72fba9795 (patch)
tree8d4d54ae99fbcb84741864eb1c9bfeffbf9384f0 /meta-rcar-gen3-adas
parentdfbada2645bd4164cf1f31473170f92e30ff3abb (diff)
Add libiio
Diffstat (limited to 'meta-rcar-gen3-adas')
-rw-r--r--meta-rcar-gen3-adas/recipes-support/libiio/libiio.inc11
-rw-r--r--meta-rcar-gen3-adas/recipes-support/libiio/libiio_0.5.bb9
-rw-r--r--meta-rcar-gen3-adas/recipes-support/libiio/libiio_git.bb8
3 files changed, 28 insertions, 0 deletions
diff --git a/meta-rcar-gen3-adas/recipes-support/libiio/libiio.inc b/meta-rcar-gen3-adas/recipes-support/libiio/libiio.inc
new file mode 100644
index 0000000..0e54c3e
--- /dev/null
+++ b/meta-rcar-gen3-adas/recipes-support/libiio/libiio.inc
@@ -0,0 +1,11 @@
+DESCRIPTION = "Library for interfacing with IIO devices"
+HOMEPAGE = "http://wiki.analog.com/resources/tools-software/linux-software/libiio"
+SECTION = "System/Libraries"
+LICENSE = "LGPL-2.1"
+
+LIC_FILES_CHKSUM ??= "file://COPYING.txt;md5=7c13b3376cea0ce68d2d2da0a1b3a72c"
+
+inherit cmake pkgconfig
+
+DEPENDS = "libxml2 bison-native flex-native"
+
diff --git a/meta-rcar-gen3-adas/recipes-support/libiio/libiio_0.5.bb b/meta-rcar-gen3-adas/recipes-support/libiio/libiio_0.5.bb
new file mode 100644
index 0000000..664dc96
--- /dev/null
+++ b/meta-rcar-gen3-adas/recipes-support/libiio/libiio_0.5.bb
@@ -0,0 +1,9 @@
+require ${BPN}.inc
+
+SRC_URI = "https://github.com/analogdevicesinc/${BPN}/archive/v${PV}.tar.gz"
+SRC_URI[md5sum] = "4496c24dabdce60bdcf231ebe19bb501"
+SRC_URI[sha256sum] = "c41cdcfeae8717e72f1100b4dac9d7cc9d86f4e0731da3354149cb7e051666f3"
+
+LIC_FILES_CHKSUM ??= "file://COPYING;md5=7c13b3376cea0ce68d2d2da0a1b3a72c"
+
+S = "${WORKDIR}/${BPN}-${PV}"
diff --git a/meta-rcar-gen3-adas/recipes-support/libiio/libiio_git.bb b/meta-rcar-gen3-adas/recipes-support/libiio/libiio_git.bb
new file mode 100644
index 0000000..0c02133
--- /dev/null
+++ b/meta-rcar-gen3-adas/recipes-support/libiio/libiio_git.bb
@@ -0,0 +1,8 @@
+require ${BPN}.inc
+
+SRC_URI = "git://github.com/analogdevicesinc/${BPN}.git"
+S = "${WORKDIR}/git"
+SRCREV = "7ce5cd5b508389077aedaaa4d5f1c0b08b78ded5"
+
+DEFAULT_PREFERENCE = "1"
+