mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-04-20 19:53:43 +00:00
Signed-off-by: Justin Sobota <jsobota@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
21 lines
500 B
BlitzBasic
21 lines
500 B
BlitzBasic
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}
|
|
}
|