Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 9F75EE009EF; Tue, 3 Nov 2015 11:47:41 -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 * [192.94.94.41 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from bear.ext.ti.com (bear.ext.ti.com [192.94.94.41]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 7284BE0088C for ; Tue, 3 Nov 2015 11:47:39 -0800 (PST) Received: from dflxv15.itg.ti.com ([128.247.5.124]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id tA3Jldrr014566 for ; Tue, 3 Nov 2015 13:47:39 -0600 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id tA3Jlc2w001340 for ; Tue, 3 Nov 2015 13:47:39 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.3.224.2; Tue, 3 Nov 2015 13:47:39 -0600 Received: from udd0866934.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 tA3Jla72022118; Tue, 3 Nov 2015 13:47:38 -0600 From: Jacob Stiffler To: Date: Tue, 3 Nov 2015 14:47:08 -0500 Message-ID: <1446580053-16935-3-git-send-email-j-stiffler@ti.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1446580053-16935-1-git-send-email-j-stiffler@ti.com> References: <1446580053-16935-1-git-send-email-j-stiffler@ti.com> MIME-Version: 1.0 Subject: [PATCH 02/27] common-csl-ip: Clean up recipes 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: Tue, 03 Nov 2015 19:47:41 -0000 Content-Type: text/plain * Use INC_PR to track recipe revisions * Define variables for GIT SRC_URI parameters Signed-off-by: Jacob Stiffler --- recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb | 6 +++--- recipes-bsp/common-csl-ip/common-csl-ip.inc | 19 ++++++++++++++----- recipes-bsp/common-csl-ip/common-csl-ip_git.bb | 4 +--- 3 files changed, 18 insertions(+), 11 deletions(-) diff --git a/recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb b/recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb index c1fb566..f8dc1ba 100644 --- a/recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb +++ b/recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb @@ -1,13 +1,13 @@ require common-csl-ip.inc +PR = "${INC_PR}.0" + require recipes-ti/includes/ti-paths.inc require recipes-ti/includes/ti-staging.inc -PR = "r1" - DEPENDS = "ti-xdctools ti-cgt6x-native ti-sysbios" -S = "${WORKDIR}/ti/csl" +CSL_GIT_DESTSUFFIX = "git/ti/csl" export C6X_GEN_INSTALL_PATH="${STAGING_DIR_NATIVE}/usr" export XDCCGROOT="${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" diff --git a/recipes-bsp/common-csl-ip/common-csl-ip.inc b/recipes-bsp/common-csl-ip/common-csl-ip.inc index 6355165..74abab0 100644 --- a/recipes-bsp/common-csl-ip/common-csl-ip.inc +++ b/recipes-bsp/common-csl-ip/common-csl-ip.inc @@ -5,13 +5,22 @@ LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5857833e20836213677fac33f9aded21" COMPATIBLE_MACHINE = "keystone|dra7xx" PACKAGE_ARCH = "${MACHINE_ARCH}" -BRANCH="master" -BRANCH_dra7xx = "releases/PROCESSOR-SDK.01.00.00" +INC_PR = "r4" -SRC_URI = "git://git.ti.com/keystone-rtos/common-csl-ip.git;protocol=git;branch=${BRANCH};destsuffix=${S}" +CSL_GIT_URI = "git://git.ti.com/keystone-rtos/common-csl-ip.git" +CSL_GIT_PROTOCOL ="git" +CSL_GIT_BRANCH = "master" +CSL_GIT_BRANCH_dra7xx = "releases/PROCESSOR-SDK.01.00.00" +CSL_GIT_DESTSUFFIX = "git" # commit ID corresponds to DEV.CSL_KEYSTONE2.02.01.01.00A -SRCREV = "17bb083f0d5ed4ad6f38c991210a6a8e9aaf9c56" +CSL_SRCREV = "17bb083f0d5ed4ad6f38c991210a6a8e9aaf9c56" # commit ID corresponds to PROCESSOR-SDK-ALPHA-1 -SRCREV_dra7xx = "37c5311ddf289f83b1432a9422816722d264bf55" +CSL_SRCREV_dra7xx = "37c5311ddf289f83b1432a9422816722d264bf55" + +BRANCH="${CSL_GIT_BRANCH}" +SRC_URI = "${CSL_GIT_URI};protocol=${CSL_GIT_PROTOCOL};branch=${BRANCH};destsuffix=${CSL_GIT_DESTSUFFIX}" +SRCREV = "${CSL_SRCREV}" + +S = "${WORKDIR}/${CSL_GIT_DESTSUFFIX}" diff --git a/recipes-bsp/common-csl-ip/common-csl-ip_git.bb b/recipes-bsp/common-csl-ip/common-csl-ip_git.bb index 8f622a5..77f7858 100644 --- a/recipes-bsp/common-csl-ip/common-csl-ip_git.bb +++ b/recipes-bsp/common-csl-ip/common-csl-ip_git.bb @@ -1,11 +1,9 @@ require common-csl-ip.inc -PR = "r3" +PR = "${INC_PR}.0" ALLOW_EMPTY_${PN} = "1" -S = "${WORKDIR}/git" - do_install () { install -d ${D}${includedir}/ti/csl find . -name "*.h" -type f | xargs -I {} cp --parents {} ${D}${includedir}/ti/csl -- 1.9.1