ti-pru-sw-app-loader: first addition of PRU sw application loader recipe
authorMelissa Watkins <m-watkins@ti.com>
Thu, 2 Dec 2010 11:14:40 +0000 (05:14 -0600)
committerKoen Kooi <koen@openembedded.org>
Sat, 4 Dec 2010 11:54:00 +0000 (12:54 +0100)
* Add PRU sw application loader recipe for the omapl138 machines

This recipe builds the PRU application loader that is used to load a
binary to the PRU's memory and manage the code executed in the PRU from
the user space.  The library and include files from the application
loader are staged for use by the ti-pru-sw-examples recipe.  Details
about the application loader can be found at:
http://processors.wiki.ti.com/index.php/PRU_Linux_Application_Loader

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-app-loader_1.00.00.bb [new file with mode: 0755]

diff --git a/recipes/ti/ti-pru-sw-app-loader_1.00.00.bb b/recipes/ti/ti-pru-sw-app-loader_1.00.00.bb
new file mode 100755 (executable)
index 0000000..013ae89
--- /dev/null
@@ -0,0 +1,23 @@
+DESCRIPTION = "PRU sw application loader"
+HOMEPAGE = "https://gforge.ti.com/gf/project/pru_sw/"
+LICENSE = "BSD"
+RRECOMMENDS_${PN} = "kernel-module-uio-pru"
+PR = "r0+svnr${SRCPV}"
+
+COMPATIBLE_MACHINE = "omapl138|am180x-evm"
+
+SRC_URI = "svn://gforge.ti.com/svn/pru_sw/;module=trunk;proto=https;user=anonymous;pswd=''"
+
+SRCREV = "18"
+S = "${WORKDIR}/trunk/app_loader"
+
+do_compile () {
+        make -C ${S}/interface
+}
+
+do_install () {
+        install -d ${D}${libdir}
+        install -d ${D}${includedir}
+        install -m 0644 ${S}/include/* ${D}${includedir}
+        install -m 0644 ${S}/lib/* ${D}${libdir}
+}