diff options
Diffstat (limited to 'recipes-bsp/osal/osal-test_git.bb')
| -rw-r--r-- | recipes-bsp/osal/osal-test_git.bb | 20 |
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 @@ | |||
| 1 | DESCRIPTION = "TI OSAL tests" | ||
| 2 | |||
| 3 | DEPENDS="common-csl-ip osal" | ||
| 4 | |||
| 5 | include osal.inc | ||
| 6 | |||
| 7 | PR = "${INC_PR}.0" | ||
| 8 | |||
| 9 | S = "${WORKDIR}/${OSAL_GIT_DESTSUFFIX}" | ||
| 10 | |||
| 11 | do_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 | |||
| 17 | do_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 | } | ||
