diff options
Diffstat (limited to 'recipes-bsp/osal/osal-test_git.bb')
-rw-r--r-- | recipes-bsp/osal/osal-test_git.bb | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/recipes-bsp/osal/osal-test_git.bb b/recipes-bsp/osal/osal-test_git.bb index 9d4fa6d3..58156e3b 100644 --- a/recipes-bsp/osal/osal-test_git.bb +++ b/recipes-bsp/osal/osal-test_git.bb | |||
@@ -4,17 +4,19 @@ DEPENDS="common-csl-ip osal" | |||
4 | 4 | ||
5 | include osal.inc | 5 | include osal.inc |
6 | 6 | ||
7 | PR = "${INC_PR}.0" | 7 | PR = "${INC_PR}.1" |
8 | 8 | ||
9 | S = "${WORKDIR}/${OSAL_GIT_DESTSUFFIX}" | 9 | S = "${WORKDIR}/${OSAL_GIT_DESTSUFFIX}" |
10 | 10 | ||
11 | EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} OSAL_SRC_DIR=${S}" | ||
12 | |||
11 | do_compile () { | 13 | do_compile () { |
12 | # Build the tests | 14 | # Build the tests |
13 | make -f makefile_armv7 clean PDK_INSTALL_PATH=${STAGING_INCDIR} | 15 | oe_runmake clean |
14 | make -f makefile_armv7 tests PDK_INSTALL_PATH=${STAGING_INCDIR} OSAL_SRC_DIR=${S} | 16 | oe_runmake tests |
15 | } | 17 | } |
16 | 18 | ||
17 | do_install () { | 19 | do_install () { |
18 | # Install the binary | 20 | # Install the binary |
19 | make -f makefile_armv7 installbin PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_BIN_BASE_DIR=${D}${bindir} OSAL_SRC_DIR=${S} | 21 | oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir} |
20 | } | 22 | } |