Add OE recipe for linux-mpu9150 project

This commit is contained in:
Harald Welte 2015-08-01 18:22:56 +02:00
parent c1eeb1a68a
commit 970fe3d755
1 changed files with 22 additions and 0 deletions

View File

@ -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
}