[meta-ti] [PATCH v3] dsplib-c66x: add version 3.4.0.0

Denys Dmytriyenko denys at ti.com
Wed Dec 2 13:49:36 PST 2015


And what about the other 2 - mathlib and imglib?

On Wed, Dec 02, 2015 at 03:50:47PM -0500, Hongmei Gou wrote:
> Signed-off-by: Hongmei Gou <h-gou at ti.com>
> ---
> v3 changes:
> * Remove c66x from COMPATIBLE_MACHINE
> * Remove SRCIPK
> 
>  recipes-ti/dsplib/dsplib-c66x.inc        | 26 ++++++++++++++++++++++++++
>  recipes-ti/dsplib/dsplib-c66x_3.4.0.0.bb |  9 +++++++++
>  recipes-ti/includes/ti-paths.inc         |  2 ++
>  3 files changed, 37 insertions(+)
>  create mode 100644 recipes-ti/dsplib/dsplib-c66x.inc
>  create mode 100644 recipes-ti/dsplib/dsplib-c66x_3.4.0.0.bb
> 
> diff --git a/recipes-ti/dsplib/dsplib-c66x.inc b/recipes-ti/dsplib/dsplib-c66x.inc
> new file mode 100644
> index 0000000..31acc1e
> --- /dev/null
> +++ b/recipes-ti/dsplib/dsplib-c66x.inc
> @@ -0,0 +1,26 @@
> +DESCRIPTION = "DSPLIB contains optimized general-purpose signal-processing routines for TI DSPs"
> +HOMEPAGE = "http://www.ti.com/tool/sprc265"
> +SECTION = "devel"
> +LICENSE = "BSD-3-Clause"
> +
> +require ../includes/ti-paths.inc
> +require ../includes/ti-staging.inc
> +require ../includes/ti-unpack.inc
> +
> +COMPATIBLE_MACHINE = "omap-a15|keystone"
> +
> +SRC_URI = "http://software-dl.ti.com/sdoemb/sdoemb_public_sw/dsplib/${PV}/exports/${BINFILE};name=dsplib"
> +
> +BINFILE = "dsplib_c66x_${PV}_Linux.bin"
> +TI_BIN_UNPK_ARGS = "--mode silent --prefix ${S}"
> +TI_BIN_UNPK_CMDS = ""
> +
> +do_install() {
> +    install -d ${D}${DSPLIB_C66_INSTALL_DIR_RECIPE}
> +    cp -pPrf ${S}/* ${D}${DSPLIB_C66_INSTALL_DIR_RECIPE}
> +}
> +
> +ALLOW_EMPTY_${PN} = "1"
> +FILES_${PN}-dev += "${DSPLIB_C66_INSTALL_DIR_RECIPE}"
> +
> +INSANE_SKIP_${PN}-dev = "arch"
> diff --git a/recipes-ti/dsplib/dsplib-c66x_3.4.0.0.bb b/recipes-ti/dsplib/dsplib-c66x_3.4.0.0.bb
> new file mode 100644
> index 0000000..f1273f3
> --- /dev/null
> +++ b/recipes-ti/dsplib/dsplib-c66x_3.4.0.0.bb
> @@ -0,0 +1,9 @@
> +require dsplib-c66x.inc
> +
> +PV = "3_4_0_0"
> +PR = "r1"
> +
> +LIC_FILES_CHKSUM = "file://packages/ti/dsplib/dsplib.h;beginline=9;endline=35;md5=17733f9e1100f8a628512f47c4bf676a"
> +
> +SRC_URI[dsplib.md5sum] = "66785604729c153dcad5282097dee8bf"
> +SRC_URI[dsplib.sha256sum] = "e88909b6271ce6c4c62e2ab90181b7adb36c7f28f5c52836668eb35888785ce8"
> diff --git a/recipes-ti/includes/ti-paths.inc b/recipes-ti/includes/ti-paths.inc
> index ad4ff78..37feb93 100644
> --- a/recipes-ti/includes/ti-paths.inc
> +++ b/recipes-ti/includes/ti-paths.inc
> @@ -49,6 +49,7 @@ export M4_TOOLCHAIN_INSTALL_DIR_RECIPE    = "${installdir}/ti-cgt-arm"
>  export CCSV6_INSTALL_DIR_RECIPE           = "${installdir}/ccsv6"
>  export GCC_ARM_NONE_TOOLCHAIN_RECIPE      = "${installdir}/gcc-arm-none-eabi"
>  export TI_CGT_PRU_INSTALL_DIR_RECIPE      = "${installdir}/cgt-pru"
> +export DSPLIB_C66_INSTALL_DIR_RECIPE      = "${installdir}/ti-dsplib-c66x-tree"
>  
>  
>  # This is where the tools will end up in sysroot
> @@ -89,6 +90,7 @@ export M4_TOOLCHAIN_INSTALL_DIR    = "${STAGING_DIR_NATIVE}${M4_TOOLCHAIN_INSTAL
>  export CCSV6_INSTALL_DIR           = "${STAGING_DIR_NATIVE}${CCSV6_INSTALL_DIR_RECIPE}"
>  export GCC_ARM_NONE_TOOLCHAIN      = "${STAGING_DIR_NATIVE}${GCC_ARM_NONE_TOOLCHAIN_RECIPE}"
>  export TI_CGT_PRU_INSTALL_DIR      = "${STAGING_DIR_NATIVE}${TI_CGT_PRU_INSTALL_DIR_RECIPE}"
> +export DSPLIB_C66_INSTALL_DIR      = "${STAGING_DIR_TARGET}${DSPLIB_C66_INSTALL_DIR_RECIPE}"
>  
>  DSPSUFFIX_omapl137 = "x674"
>  DSPSUFFIX_omapl138 = "x674"
> -- 
> 1.9.1
> 
> -- 
> _______________________________________________
> meta-ti mailing list
> meta-ti at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


More information about the meta-ti mailing list