1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-07-16 14:27:48 +00:00
Files
Jacob Stiffler cd9c203027 osal: utilize oe_runmake
* 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>
2017-05-08 15:48:27 -04:00

23 lines
430 B
BlitzBasic

DESCRIPTION = "TI OSAL library for Linux"
DEPENDS="common-csl-ip"
include osal.inc
PR = "${INC_PR}.1"
S = "${WORKDIR}/${OSAL_GIT_DESTSUFFIX}"
EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
do_compile () {
# Build the lib
oe_runmake clean
oe_runmake lib
}
do_install () {
# Install the lib
oe_runmake install INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
}