Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id BE6DEE0076A; Mon, 23 Nov 2015 08:06:57 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [198.47.26.152 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from comal.ext.ti.com (comal.ext.ti.com [198.47.26.152]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 689DDE00457 for ; Mon, 23 Nov 2015 08:06:53 -0800 (PST) Received: from dflxv15.itg.ti.com ([128.247.5.124]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id tANG6r2h001503 for ; Mon, 23 Nov 2015 10:06:53 -0600 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id tANG6rAp005217 for ; Mon, 23 Nov 2015 10:06:53 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.3.224.2; Mon, 23 Nov 2015 10:06:53 -0600 Received: from uda0271529.am.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id tANG6q6h012965; Mon, 23 Nov 2015 10:06:52 -0600 From: Hongmei Gou To: Date: Mon, 23 Nov 2015 11:06:50 -0500 Message-ID: <1448294810-17543-1-git-send-email-h-gou@ti.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Subject: [PATCH] mathlib-c66x: add version 3.1.1.0 X-BeenThere: meta-ti@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-ti layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Nov 2015 16:06:57 -0000 Content-Type: text/plain Signed-off-by: Hongmei Gou --- recipes-ti/includes/ti-paths.inc | 2 ++ recipes-ti/mathlib/mathlib-c66x.inc | 31 ++++++++++++++++++++++++++++++ recipes-ti/mathlib/mathlib-c66x_3.1.1.0.bb | 9 +++++++++ 3 files changed, 42 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..3552ffe --- /dev/null +++ b/recipes-ti/mathlib/mathlib-c66x.inc @@ -0,0 +1,31 @@ +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|c66x" + +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" + +CREATE_SRCIPK = "1" +SRCIPK_INSTALL_DIR = "mathlib_c66x_${PV}" 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