mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-04-20 19:53:43 +00:00
* Use the oe_runmake wrapper to invoke make * Supply common make arguments to EXTRA_OEMAKE such as which makefile to invoke. * This resolves build issues when osal needs to be reconfigured as do_configure would make the clean target of the incorrect makefile. Signed-off-by: Jacob Stiffler <j-stiffler@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
23 lines
412 B
BlitzBasic
23 lines
412 B
BlitzBasic
DESCRIPTION = "TI OSAL tests"
|
|
|
|
DEPENDS="common-csl-ip osal"
|
|
|
|
include osal.inc
|
|
|
|
PR = "${INC_PR}.1"
|
|
|
|
S = "${WORKDIR}/${OSAL_GIT_DESTSUFFIX}"
|
|
|
|
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}
|
|
}
|