From 970fe3d755034e53878e8ec2041417f4e400124e Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 1 Aug 2015 18:22:56 +0200 Subject: [PATCH] Add OE recipe for linux-mpu9150 project --- .../linux-mpu9150/linux-mpu9150_git.bb | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 recipes-bsp/linux-mpu9150/linux-mpu9150_git.bb diff --git a/recipes-bsp/linux-mpu9150/linux-mpu9150_git.bb b/recipes-bsp/linux-mpu9150/linux-mpu9150_git.bb new file mode 100644 index 0000000..448c0e3 --- /dev/null +++ b/recipes-bsp/linux-mpu9150/linux-mpu9150_git.bb @@ -0,0 +1,22 @@ +SUMMARY = "small utility to set configuration of USB2514 hub chip on the sysmo-odu" +HOMEPAGE = "" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=e6868d1ce8f058ecc5658ecebb086636" + +SRCREV = "1103417819fe855d8d0d3e6a277870679ad01bd2" +SRC_URI = "git://github.com/mlaurijsse/linux-mpu9150.git" + +PV = "v0.0+git${SRCPV}" +PR = "r1a" + +S = "${WORKDIR}/git" + +do_compile() { + oe_runmake -f Makefile-native +} + +do_install() { + install -d ${D}${bindir}/ + install -m 0755 ${S}/imu ${D}${bindir}/mpu9150-imu + install -m 0755 ${S}/imucal ${D}${bindir}/mpu9150-imu-cal +}