summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3-adas/recipes-support/libiio
diff options
context:
space:
mode:
authorVladimir Barinov <vladimir.barinov@cogentembedded.com>2017-09-14 09:21:52 +0300
committerVladimir Barinov <vladimir.barinov@cogentembedded.com>2017-09-14 09:21:52 +0300
commit289fbd4f83543451323d6ce275fad1b5a85b61f1 (patch)
tree02310521c3426cad6b9c9f7321a26509d47044c4 /meta-rcar-gen3-adas/recipes-support/libiio
Initial commit for ADAS boards support in 2.23.0
Diffstat (limited to 'meta-rcar-gen3-adas/recipes-support/libiio')
-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"
+