summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/osal/osal-test_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-bsp/osal/osal-test_git.bb')
-rw-r--r--recipes-bsp/osal/osal-test_git.bb20
1 files changed, 20 insertions, 0 deletions
diff --git a/recipes-bsp/osal/osal-test_git.bb b/recipes-bsp/osal/osal-test_git.bb
new file mode 100644
index 00000000..9d4fa6d3
--- /dev/null
+++ b/recipes-bsp/osal/osal-test_git.bb
@@ -0,0 +1,20 @@
1DESCRIPTION = "TI OSAL tests"
2
3DEPENDS="common-csl-ip osal"
4
5include osal.inc
6
7PR = "${INC_PR}.0"
8
9S = "${WORKDIR}/${OSAL_GIT_DESTSUFFIX}"
10
11do_compile () {
12# Build the tests
13 make -f makefile_armv7 clean PDK_INSTALL_PATH=${STAGING_INCDIR}
14 make -f makefile_armv7 tests PDK_INSTALL_PATH=${STAGING_INCDIR} OSAL_SRC_DIR=${S}
15}
16
17do_install () {
18# Install the binary
19 make -f makefile_armv7 installbin PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_BIN_BASE_DIR=${D}${bindir} OSAL_SRC_DIR=${S}
20}