mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-04-19 11:10:52 +00:00
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>
This commit is contained in:
committed by
Denys Dmytriyenko
parent
dfea11fa7d
commit
de660bbeff
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user