mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-04-20 19:53:43 +00:00
osal: Upstream version 1.0.0.5E
Signed-off-by: Justin Sobota <jsobota@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
This commit is contained in:
committed by
Denys Dmytriyenko
parent
c971a8f601
commit
acb8746388
20
recipes-bsp/osal/osal-test_git.bb
Normal file
20
recipes-bsp/osal/osal-test_git.bb
Normal file
@@ -0,0 +1,20 @@
|
||||
DESCRIPTION = "TI OSAL tests"
|
||||
|
||||
DEPENDS="common-csl-ip osal"
|
||||
|
||||
include osal.inc
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
S = "${WORKDIR}/${OSAL_GIT_DESTSUFFIX}"
|
||||
|
||||
do_compile () {
|
||||
# Build the tests
|
||||
make -f makefile_armv7 clean PDK_INSTALL_PATH=${STAGING_INCDIR}
|
||||
make -f makefile_armv7 tests PDK_INSTALL_PATH=${STAGING_INCDIR} OSAL_SRC_DIR=${S}
|
||||
}
|
||||
|
||||
do_install () {
|
||||
# Install the binary
|
||||
make -f makefile_armv7 installbin PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_BIN_BASE_DIR=${D}${bindir} OSAL_SRC_DIR=${S}
|
||||
}
|
||||
20
recipes-bsp/osal/osal.inc
Normal file
20
recipes-bsp/osal/osal.inc
Normal file
@@ -0,0 +1,20 @@
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://osal.h;beginline=1;endline=31;md5=8cbd8efb1460e4f16e6b00c8a7686be4"
|
||||
|
||||
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|keystone"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
OSAL_GIT_URI = "git://git.ti.com/keystone-rtos/osal.git"
|
||||
OSAL_GIT_PROTOCOL = "git"
|
||||
OSAL_GIT_BRANCH = "master"
|
||||
OSAL_GIT_DESTSUFFIX = "git/ti/osal"
|
||||
|
||||
# Below commit ID corresponds to "DEV.OSAL.01.00.00.05E"
|
||||
OSAL_SRCREV = "5125c71d756530513500b463d3301d03dee04497"
|
||||
|
||||
BRANCH = "${OSAL_GIT_BRANCH}"
|
||||
SRC_URI = "${OSAL_GIT_URI};destsuffix=${OSAL_GIT_DESTSUFFIX};protocol=${OSAL_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${OSAL_SRCREV}"
|
||||
PV = "01.00.00.05E"
|
||||
INC_PR = "r0"
|
||||
20
recipes-bsp/osal/osal_git.bb
Normal file
20
recipes-bsp/osal/osal_git.bb
Normal file
@@ -0,0 +1,20 @@
|
||||
DESCRIPTION = "TI OSAL library for Linux"
|
||||
|
||||
DEPENDS="common-csl-ip"
|
||||
|
||||
include osal.inc
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
S = "${WORKDIR}/${OSAL_GIT_DESTSUFFIX}"
|
||||
|
||||
do_compile () {
|
||||
# Build the lib
|
||||
make -f makefile_armv7 clean PDK_INSTALL_PATH=${STAGING_INCDIR}
|
||||
make -f makefile_armv7 lib PDK_INSTALL_PATH=${STAGING_INCDIR}
|
||||
}
|
||||
|
||||
do_install () {
|
||||
# Install the lib
|
||||
make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
|
||||
}
|
||||
Reference in New Issue
Block a user