[meta-ti] [rocko/master/ti2018.01] [PATCH] pruss-lld-apps: build example applications of pruss-lld

Hongmei Gou a0271529 at ti.com
Thu Jul 19 12:11:38 PDT 2018


* The current example application is Simple Open Real-Time Ethernet (SORTE).
  It is ported to Linux user space utilizing UIO.

Signed-off-by: Hongmei Gou <a0271529 at ti.com>
---
Please note that this patch is on top of pruss-lld version update
to 1.0.0.10: http://patchwork.dal.design.ti.com/patch/39393/

 recipes-bsp/pruss-lld/pruss-lld-apps_git.bb | 33 +++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 recipes-bsp/pruss-lld/pruss-lld-apps_git.bb

diff --git a/recipes-bsp/pruss-lld/pruss-lld-apps_git.bb b/recipes-bsp/pruss-lld/pruss-lld-apps_git.bb
new file mode 100644
index 0000000..5867984
--- /dev/null
+++ b/recipes-bsp/pruss-lld/pruss-lld-apps_git.bb
@@ -0,0 +1,33 @@
+DESCRIPTION = "TI PRUSS low level driver example applications"
+
+DEPENDS="common-csl-ip pruss-lld osal ti-pdk-build-rtos pruss-lld-rtos"
+
+DEPENDS_append_ti33x = " starterware"
+DEPENDS_append_ti43x = " starterware"
+
+include pruss-lld.inc
+
+PR = "${INC_PR}.0"
+
+S = "${WORKDIR}/${PRUSS_LLD_GIT_DESTSUFFIX}"
+
+EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} PDK_PKG_PATH=${STAGING_DATADIR}/ti/ti-pdk-tree/packages PRUSS_SRC_DIR=${S}"
+
+
+DEVICE_LIST ?= "${TI_PDK_LIMIT_SOCS}"
+
+do_compile () {
+#   Build the apps
+    for device in ${DEVICE_LIST}
+    do
+        oe_runmake apps DEVICE="$device"
+    done
+}
+
+do_install () {
+#   Install the app binary
+    for device in ${DEVICE_LIST}
+    do
+        oe_runmake installapp INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device"
+    done
+}
-- 
1.9.1



More information about the meta-ti mailing list