summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/osal/osal-test_git.bb
blob: 58156e3bce76cfc7d372bea6343175251b78f3ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
DESCRIPTION = "TI OSAL tests"

DEPENDS="common-csl-ip osal"

include osal.inc

PR = "${INC_PR}.1"

S = "${WORKDIR}/${OSAL_GIT_DESTSUFFIX}"

EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} OSAL_SRC_DIR=${S}"

do_compile () {
#   Build the tests
    oe_runmake clean
    oe_runmake tests
}

do_install () {
#   Install the binary
    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir}
}