All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] pruss-lld-test: do compile and install for all devices in TI_PDK_LIMIT_SOCS
@ 2017-10-10 16:34 Hongmei Gou
  0 siblings, 0 replies; only message in thread
From: Hongmei Gou @ 2017-10-10 16:34 UTC (permalink / raw)
  To: meta-ti; +Cc: Hongmei Gou

Signed-off-by: Hongmei Gou <a0271529@ti.com>
---
 recipes-bsp/pruss-lld/pruss-lld-test_git.bb | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/recipes-bsp/pruss-lld/pruss-lld-test_git.bb b/recipes-bsp/pruss-lld/pruss-lld-test_git.bb
index 7fdbfb6..90764d1 100644
--- a/recipes-bsp/pruss-lld/pruss-lld-test_git.bb
+++ b/recipes-bsp/pruss-lld/pruss-lld-test_git.bb
@@ -4,18 +4,26 @@ DEPENDS="common-csl-ip pruss-lld osal"
 
 include pruss-lld.inc
 
-PR = "${INC_PR}.1"
+PR = "${INC_PR}.2"
 
 S = "${WORKDIR}/${PRUSS_LLD_GIT_DESTSUFFIX}"
 
 EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} PRUSS_SRC_DIR=${S}"
 
+DEVICE_LIST ?= "${TI_PDK_LIMIT_SOCS}"
+
 do_compile () {
 #   Build the tests
-    oe_runmake tests
+    for device in ${DEVICE_LIST}
+    do
+        oe_runmake tests DEVICE="$device"
+    done
 }
 
 do_install () {
 #   Install the binary
-    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir}
+    for device in ${DEVICE_LIST}
+    do
+        oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device"
+    done
 }
-- 
1.9.1



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-10-10 16:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-10 16:34 [PATCH] pruss-lld-test: do compile and install for all devices in TI_PDK_LIMIT_SOCS Hongmei Gou

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.