aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-bsp/osal/osal-test_git.bb
blob: 354aa797492b590adf95f4404bce0754b25e3e4f (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}.1"

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}
}