From: Melissa Watkins Date: Thu, 2 Dec 2010 11:14:40 +0000 (-0600) Subject: ti-pru-sw-app-loader: first addition of PRU sw application loader recipe X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3a58927748f0aa2e25cc167fa91c605266f742c;p=openembedded.git ti-pru-sw-app-loader: first addition of PRU sw application loader recipe * 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 Signed-off-by: Chase Maupin Signed-off-by: Koen Kooi --- 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 index 0000000000..013ae89382 --- /dev/null +++ b/recipes/ti/ti-pru-sw-app-loader_1.00.00.bb @@ -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} +}