[meta-ti] [PATCH v2] mathlib-c66x: add version 3.1.1.0
Hongmei Gou
h-gou at ti.com
Thu Dec 3 11:08:27 PST 2015
Signed-off-by: Hongmei Gou <h-gou at ti.com>
---
v2 changes:
* Remove c66x from COMPATIBLE_MACHINE
* Remove SRCIPK
recipes-ti/includes/ti-paths.inc | 2 ++
recipes-ti/mathlib/mathlib-c66x.inc | 28 ++++++++++++++++++++++++++++
recipes-ti/mathlib/mathlib-c66x_3.1.1.0.bb | 9 +++++++++
3 files changed, 39 insertions(+)
create mode 100644 recipes-ti/mathlib/mathlib-c66x.inc
create mode 100644 recipes-ti/mathlib/mathlib-c66x_3.1.1.0.bb
diff --git a/recipes-ti/includes/ti-paths.inc b/recipes-ti/includes/ti-paths.inc
index 37feb93..7d2211a 100644
--- a/recipes-ti/includes/ti-paths.inc
+++ b/recipes-ti/includes/ti-paths.inc
@@ -50,6 +50,7 @@ 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"
+export MATHLIB_C66_INSTALL_DIR_RECIPE = "${installdir}/ti-mathlib-c66x-tree"
# This is where the tools will end up in sysroot
@@ -91,6 +92,7 @@ export CCSV6_INSTALL_DIR = "${STAGING_DIR_NATIVE}${CCSV6_INSTALL_DIR_R
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}"
+export MATHLIB_C66_INSTALL_DIR = "${STAGING_DIR_TARGET}${MATHLIB_C66_INSTALL_DIR_RECIPE}"
DSPSUFFIX_omapl137 = "x674"
DSPSUFFIX_omapl138 = "x674"
diff --git a/recipes-ti/mathlib/mathlib-c66x.inc b/recipes-ti/mathlib/mathlib-c66x.inc
new file mode 100644
index 0000000..1511337
--- /dev/null
+++ b/recipes-ti/mathlib/mathlib-c66x.inc
@@ -0,0 +1,28 @@
+DESCRIPTION = "MATHLIB contains optimized general-purpose signal-processing routines for TI DSPs"
+HOMEPAGE = "http://www.ti.com/tool/mathlib"
+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/mathlib/${PV}/exports/${BINFILE};name=mathlib"
+
+S = "${WORKDIR}/mathlib-c66x-${PV}"
+
+BINFILE = "mathlib_c66x_${PV}_Linux.bin"
+TI_BIN_UNPK_ARGS = "--mode silent --prefix ${S}"
+TI_BIN_UNPK_CMDS = ""
+
+do_install() {
+ install -d ${D}${MATHLIB_C66_INSTALL_DIR_RECIPE}
+ cp -pPrf ${S}/* ${D}${MATHLIB_C66_INSTALL_DIR_RECIPE}
+}
+
+ALLOW_EMPTY_${PN} = "1"
+FILES_${PN}-dev += "${MATHLIB_C66_INSTALL_DIR_RECIPE}"
+
+INSANE_SKIP_${PN}-dev = "arch"
diff --git a/recipes-ti/mathlib/mathlib-c66x_3.1.1.0.bb b/recipes-ti/mathlib/mathlib-c66x_3.1.1.0.bb
new file mode 100644
index 0000000..50746fb
--- /dev/null
+++ b/recipes-ti/mathlib/mathlib-c66x_3.1.1.0.bb
@@ -0,0 +1,9 @@
+require mathlib-c66x.inc
+
+PV = "3_1_1_0"
+PR = "r1"
+
+LIC_FILES_CHKSUM = "file://packages/ti/mathlib/mathlib.h;beginline=9;endline=35;md5=954ed7074e987be574989f985f1897db"
+
+SRC_URI[mathlib.md5sum] = "f3c9ad06dfcea780b5362c57a4bc48b8"
+SRC_URI[mathlib.sha256sum] = "85df897c94e8768e9a1f186c21702ed3887d39cda6dc67cb4580fa3f083e8925"
--
1.9.1
More information about the meta-ti
mailing list