From 0b3a26ca45b0ce88805e04baab151cabb99c7e83 Mon Sep 17 00:00:00 2001 From: "Gou, Hongmei" Date: Thu, 3 Sep 2015 02:04:30 +0000 Subject: [PATCH] ti-osal: add the latest version of 1.24.00.09 * ti-osal is added for building dspdce-fw and ipumm-fw in Yocto Signed-off-by: Hongmei Gou Signed-off-by: Denys Dmytriyenko --- recipes-ti/includes/ti-paths.inc | 2 ++ recipes-ti/osal/ti-osal.inc | 21 +++++++++++++++++++++ recipes-ti/osal/ti-osal_1.24.00.09.bb | 9 +++++++++ 3 files changed, 32 insertions(+) create mode 100644 recipes-ti/osal/ti-osal.inc create mode 100644 recipes-ti/osal/ti-osal_1.24.00.09.bb diff --git a/recipes-ti/includes/ti-paths.inc b/recipes-ti/includes/ti-paths.inc index b902cbb8..bd80fa11 100644 --- a/recipes-ti/includes/ti-paths.inc +++ b/recipes-ti/includes/ti-paths.inc @@ -44,6 +44,7 @@ export VICPLIB_INSTALL_DIR_RECIPE = "${installdir}/ti-vicplib-tree" export XDAIS_INSTALL_DIR_RECIPE = "${installdir}/ti-xdais-tree" export XDC_INSTALL_DIR_RECIPE = "${installdir}/ti-xdctools-tree" export PDK_INSTALL_DIR_RECIPE = "${installdir}/ti-pdk-tree" +export OSAL_INSTALL_DIR_RECIPE = "${installdir}/ti-osal-tree" # This is where the tools will end up in sysroot export BIOS_INSTALL_DIR = "${STAGING_DIR_TARGET}${BIOS_INSTALL_DIR_RECIPE}" @@ -78,6 +79,7 @@ export UIA_INSTALL_DIR = "${STAGING_DIR_TARGET}${UIA_INSTALL_DIR_RECIPE}" export XDAIS_INSTALL_DIR = "${STAGING_DIR_TARGET}${XDAIS_INSTALL_DIR_RECIPE}" export XDC_INSTALL_DIR = "${STAGING_DIR_TARGET}${XDC_INSTALL_DIR_RECIPE}" export PDK_INSTALL_DIR = "${STAGING_DIR_TARGET}${PDK_INSTALL_DIR_RECIPE}" +export OSAL_INSTALL_DIR = "${STAGING_DIR_TARGET}${OSAL_INSTALL_DIR_RECIPE}" DSPSUFFIX_omapl137 = "x674" DSPSUFFIX_omapl138 = "x674" diff --git a/recipes-ti/osal/ti-osal.inc b/recipes-ti/osal/ti-osal.inc new file mode 100644 index 00000000..09ee883a --- /dev/null +++ b/recipes-ti/osal/ti-osal.inc @@ -0,0 +1,21 @@ +DESCRIPTION = "TI Operating System Abstraction Library (OSAL)" +HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/osal" +LICENSE = "BSD & EPL" +SECTION = "devel" + +require ../includes/ti-paths.inc +require ../includes/ti-staging.inc + +S = "${WORKDIR}/osal_${PV}" + +SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/osal/${PV}/exports/osal_${PV}.tar.gz;name=osaltarball" + +do_install() { + install -d ${D}${OSAL_INSTALL_DIR_RECIPE} + cp -pPrf ${S}/* ${D}${OSAL_INSTALL_DIR_RECIPE} +} + +INSANE_SKIP_${PN}-dev = "staticdev" + +ALLOW_EMPTY_${PN} = "1" +FILES_${PN}-dev += "${OSAL_INSTALL_DIR_RECIPE}" diff --git a/recipes-ti/osal/ti-osal_1.24.00.09.bb b/recipes-ti/osal/ti-osal_1.24.00.09.bb new file mode 100644 index 00000000..226458be --- /dev/null +++ b/recipes-ti/osal/ti-osal_1.24.00.09.bb @@ -0,0 +1,9 @@ +require ti-osal.inc + +PV = "1_24_00_09" +PR = "r0" + +LIC_FILES_CHKSUM = "file://osal_${PV}_Manifest.html;md5=c110191994d011cee4cd02189ed3c9f4" + +SRC_URI[osaltarball.md5sum] = "a7ea85447fa0ff0f786d527a52fa6e8b" +SRC_URI[osaltarball.sha256sum] = "d14f1f43c8a7965e86add69bd813cea56ea7e38abeb55de3fdcdaf4a69f19bf3"