diff options
author | Tom Rini <trini@konsulko.com> | 2017-12-19 15:07:39 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-12-19 15:07:39 -0500 |
commit | 9ae3b81724f87dcc1f5cbd618c472e0cf79b2791 (patch) | |
tree | d3d1e6ac479ba64a78dcf16e521898a44ed08878 /meta-rcar-gen3-adas/recipes-bsp/iio-utils/iio-utils_%.bb | |
parent | 592c4aca65cc41ea9e5757084ae1d488d2bbd8b0 (diff) | |
parent | eb675727a6bfdee2ba7dd36644403163f9d905e2 (diff) |
Merge branch 'pyro' into eel
Diffstat (limited to 'meta-rcar-gen3-adas/recipes-bsp/iio-utils/iio-utils_%.bb')
-rw-r--r-- | meta-rcar-gen3-adas/recipes-bsp/iio-utils/iio-utils_%.bb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-rcar-gen3-adas/recipes-bsp/iio-utils/iio-utils_%.bb b/meta-rcar-gen3-adas/recipes-bsp/iio-utils/iio-utils_%.bb new file mode 100644 index 0000000..e84668c --- /dev/null +++ b/meta-rcar-gen3-adas/recipes-bsp/iio-utils/iio-utils_%.bb @@ -0,0 +1,31 @@ +SUMMARY = "IIO Utils" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=574295575bba94ba7980d611516fe3d2" + +DEPENDS = "virtual/kernel" + +export KERNELDIR = "${STAGING_KERNEL_DIR}" + +S = "${WORKDIR}/iio-utils" + +SRC_URI = " \ + file://iio-utils.tar.gz \ +" + +do_compile() { + cd ${S} + make all || die +} + +do_install() { + install -d ${D}${bindir} + install -m 755 ${S}/iio_event_monitor ${D}${bindir} + install -m 755 ${S}/lsiio ${D}${bindir} + install -m 755 ${S}/iio_generic_buffer ${D}${bindir} +} + +FILES_${PN} = " \ + ${bindir}/iio_event_monitor \ + ${bindir}/lsiio \ + ${bindir}/iio_generic_buffer \ +" |