aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-bsp/pruss-lld/pruss-lld-test_git.bb
blob: 8007f652004489acd16a6e62122b50f238a99c78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
DESCRIPTION = "TI PRUSS low level driver tests"

DEPENDS = "common-csl-ip pruss-lld osal"

include pruss-lld.inc

PR = "${INC_PR}.2"

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
    for device in ${DEVICE_LIST}
    do
        oe_runmake tests DEVICE="$device"
    done
}

do_install () {
#   Install the binary
    for device in ${DEVICE_LIST}
    do
        oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device"
    done
}