[meta-ti] Jacob Stiffler : pktlib: Clean up recipes

Arago Project git git at arago-project.org
Wed Nov 4 07:00:02 PST 2015


Module: meta-ti
Branch: master
Commit: 8618a97a988637fecfc6dc53e58e0684134a42a2
URL:    http://arago-project.org/git/meta-ti.git?a=commit;h=8618a97a988637fecfc6dc53e58e0684134a42a2

Author: Jacob Stiffler <j-stiffler at ti.com>
Date:   Wed Nov  4 01:47:24 2015 +0000

pktlib: Clean up recipes

* Define variables for GIT SRC_URI parameters

Signed-off-by: Jacob Stiffler <j-stiffler at ti.com>
Signed-off-by: Denys Dmytriyenko <denys at ti.com>

---

 recipes-bsp/pktlib/pktlib_git.bb |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/recipes-bsp/pktlib/pktlib_git.bb b/recipes-bsp/pktlib/pktlib_git.bb
index 17e5041..03399cf 100644
--- a/recipes-bsp/pktlib/pktlib_git.bb
+++ b/recipes-bsp/pktlib/pktlib_git.bb
@@ -5,12 +5,19 @@ LIC_FILES_CHKSUM = "file://${WORKDIR}/git/COPYING.txt;md5=b7982a377c680ad71ca2fb
 DEPENDS = "common-csl-ip rm-lld qmss-lld cppi-lld"
 COMPATIBLE_MACHINE = "keystone"
 
-BRANCH = "master"
-SRC_URI = "git://git.ti.com/keystone-rtos/pktlib.git;protocol=git;branch=${BRANCH}"
+PKTLIB_GIT_URI = "git://git.ti.com/keystone-rtos/pktlib.git"
+PKTLIB_GIT_PROTOCOL = "git"
+PKTLIB_GIT_BRANCH = "master"
 
 # Corresponds to DEV.PKTLIB.2.1.0.5
-SRCREV = "d757026f3d6a837711f4b44b5ffdefed761fc186"
+PKTLIB_SRCREV = "d757026f3d6a837711f4b44b5ffdefed761fc186"
+
+BRANCH = "${PKTLIB_GIT_BRANCH}"
+SRC_URI = "${PKTLIB_GIT_URI};protocol=${PKTLIB_GIT_PROTOCOL};branch=${BRANCH}"
+SRCREV = "${PKTLIB_SRCREV}"
+
 PV = "2.1.0.5"
+PR = "r1"
 
 S = "${WORKDIR}/git/ti/runtime/pktlib"
 



More information about the meta-ti mailing list