diff options
author | Hongmei Gou <a0271529@ti.com> | 2017-10-10 22:34:24 +0000 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2017-10-12 21:04:13 -0400 |
commit | d20674a5256a92255cdbdad1c2e30cffdc75e4d1 (patch) | |
tree | 9848164a6852798fc3dc6047313ff0667b4e86ef | |
parent | ee63e13c9750a2cdcd090d00706cb55a69225825 (diff) | |
download | meta-ti-d20674a5256a92255cdbdad1c2e30cffdc75e4d1.tar.gz |
pruss-lld-test: do compile and install for all devices in TI_PDK_LIMIT_SOCS
Signed-off-by: Hongmei Gou <a0271529@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
-rw-r--r-- | recipes-bsp/pruss-lld/pruss-lld-test_git.bb | 14 |
1 files 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 7fdbfb6f..90764d15 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" | |||
4 | 4 | ||
5 | include pruss-lld.inc | 5 | include pruss-lld.inc |
6 | 6 | ||
7 | PR = "${INC_PR}.1" | 7 | PR = "${INC_PR}.2" |
8 | 8 | ||
9 | S = "${WORKDIR}/${PRUSS_LLD_GIT_DESTSUFFIX}" | 9 | S = "${WORKDIR}/${PRUSS_LLD_GIT_DESTSUFFIX}" |
10 | 10 | ||
11 | EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} PRUSS_SRC_DIR=${S}" | 11 | EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} PRUSS_SRC_DIR=${S}" |
12 | 12 | ||
13 | DEVICE_LIST ?= "${TI_PDK_LIMIT_SOCS}" | ||
14 | |||
13 | do_compile () { | 15 | do_compile () { |
14 | # Build the tests | 16 | # Build the tests |
15 | oe_runmake tests | 17 | for device in ${DEVICE_LIST} |
18 | do | ||
19 | oe_runmake tests DEVICE="$device" | ||
20 | done | ||
16 | } | 21 | } |
17 | 22 | ||
18 | do_install () { | 23 | do_install () { |
19 | # Install the binary | 24 | # Install the binary |
20 | oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} | 25 | for device in ${DEVICE_LIST} |
26 | do | ||
27 | oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device" | ||
28 | done | ||
21 | } | 29 | } |