ti-pru-sw-edma-driver: first addition of PRU sw edma driver
authorMelissa Watkins <m-watkins@ti.com>
Thu, 2 Dec 2010 11:17:00 +0000 (05:17 -0600)
committerKoen Kooi <koen@openembedded.org>
Sat, 4 Dec 2010 11:53:59 +0000 (12:53 +0100)
* Add PRU sw edma driver recipe for the omapl138 and am181x-evm machines

This recipe builds and installs an edma driver module that supports the
edma user space libraries built by the ti-pru-sw-edma-library recipe.

Signed-off-by: Melissa Watkins <m-watkins@ti.com>
Signed-off-by: Chase Maupin <chase.maupin@ti.com>
Signed-off-by: Koen Kooi <k-kooi@ti.com>
recipes/ti/ti-pru-sw-edma-driver_1.00.00.bb [new file with mode: 0644]

diff --git a/recipes/ti/ti-pru-sw-edma-driver_1.00.00.bb b/recipes/ti/ti-pru-sw-edma-driver_1.00.00.bb
new file mode 100644 (file)
index 0000000..e315f8e
--- /dev/null
@@ -0,0 +1,20 @@
+DESCRIPTION = "Builds eDMA module used by eDMA libraries for PRU sw example applications"
+HOMEPAGE = "https://gforge.ti.com/gf/project/pru_sw/"
+LICENSE = "GPLv2"
+PR = "r0+svnr${SRCPV}"
+
+COMPATIBLE_MACHINE = "omapl138|am180x-evm|am181x-evm"
+
+SRC_URI = "svn://gforge.ti.com/svn/pru_sw/;module=trunk;proto=https;user=anonymous;pswd=''"
+
+SRCREV = "18"
+S = "${WORKDIR}/trunk/peripheral_lib/edma_driver/module"
+
+inherit module
+
+do_install () {
+        install -d ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/pru
+        install -m 0755 ${S}/edmautils.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/pru/
+}
+
+FILES_${PN} = "/lib/modules/${KERNEL_VERSION}/kernel/drivers/pru/edmautils.ko"