diff options
author | Christian Gromm <christian.gromm@microchip.com> | 2016-06-23 17:05:25 +0200 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.200> | 2016-07-08 11:50:29 +0000 |
commit | 727d2be4b9b39f57144cf2780449c5138bc6347b (patch) | |
tree | 55a2c6551f3ec86f313b2f2dae1a2477f875235c /recipes-demo-hmi/ALS2016-demo | |
parent | 18e358f3aa4abe46910471f120339060693d8537 (diff) |
meta-agl-demo: recipes-most: add recipe to install most-driver
This patch adds the recipe to install the MOST Linux Driver from the staging area
most-can-demo-bin to /lib/modules/3.10.31-ltsi/kernel/drivers/.
v3: Add COMPATIBLE_MACHINE = 'porter' instead of changeset 5995 (jsmoeller)
v2: Adapt folders as per discussion in gerrit (jsmoeller)
Change-Id: If9861ae37669f10f78c7276d3807c7d7a92b78af
Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'recipes-demo-hmi/ALS2016-demo')
-rw-r--r-- | recipes-demo-hmi/ALS2016-demo/most-driver_0.1.bb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/recipes-demo-hmi/ALS2016-demo/most-driver_0.1.bb b/recipes-demo-hmi/ALS2016-demo/most-driver_0.1.bb new file mode 100644 index 000000000..d16134a16 --- /dev/null +++ b/recipes-demo-hmi/ALS2016-demo/most-driver_0.1.bb @@ -0,0 +1,32 @@ +DESCRIPTION = "MOST Linux Driver" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" +PR = "r0" + +SRC_URI = "git://gerrit.automotivelinux.org/gerrit/staging/most-can-demo-bin;protocol=https" + +COMPATIBLE_MACHINE = 'porter' + +S = "${WORKDIR}/git" +SRCREV = "cd6e46d117934139efdf5fac33fbeb59b66e45b6" + +do_configure() { + echo "" +} + +do_compile() { + echo "" +} + +do_install() { + install -m 0755 -d ${D}${base_libdir}/modules/3.10.31-ltsi/kernel/drivers/${PN} + install -m 0644 ${S}/mostcore.ko ${D}${base_libdir}/modules/3.10.31-ltsi/kernel/drivers/${PN} + install -m 0644 ${S}/aim_cdev.ko ${D}${base_libdir}/modules/3.10.31-ltsi/kernel/drivers/${PN} + install -m 0644 ${S}/aim_network.ko ${D}${base_libdir}/modules/3.10.31-ltsi/kernel/drivers/${PN} + install -m 0644 ${S}/aim_sound.ko ${D}${base_libdir}/modules/3.10.31-ltsi/kernel/drivers/${PN} + install -m 0644 ${S}/aim_v4l2.ko ${D}${base_libdir}/modules/3.10.31-ltsi/kernel/drivers/${PN} + install -m 0644 ${S}/hdm_usb.ko ${D}${base_libdir}/modules/3.10.31-ltsi/kernel/drivers/${PN} +} + +FILES_${PN} += "${base_libdir}/modules/3.10.31-ltsi/kernel/drivers/${PN}" + |