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

DEPENDS="common-csl-ip osal"

include osal.inc

PR = "${INC_PR}.0"

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

do_compile () {
#   Build the tests
    make -f makefile_armv7 clean PDK_INSTALL_PATH=${STAGING_INCDIR}
    make -f makefile_armv7 tests PDK_INSTALL_PATH=${STAGING_INCDIR} OSAL_SRC_DIR=${S}
}

do_install () {
#   Install the binary
    make -f makefile_armv7 installbin PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_BIN_BASE_DIR=${D}${bindir} OSAL_SRC_DIR=${S}
}