Skip to contentSkip to conversation

Jacob Stiffler : pktlib: Clean up recipes

PATCH Arago Project git 1 participant 1 message Nov 4, 2015

lore
Share & tools
lore
#0 lore raw
Module: meta-ti
Branch: master
Commit: 8618a97a988637fecfc6dc53e58e0684134a42a2
URL:    http://arago-project.org/git/meta-ti.git?a=commit;h=8618a97a988637fecfc6dc53e58e0684134a42a2
Author: Jacob Stiffler <[email protected]>
Date:   Wed Nov  4 01:47:24 2015 +0000

pktlib: Clean up recipes

* Define variables for GIT SRC_URI parameters

---

 recipes-bsp/pktlib/pktlib_git.bb |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)
recipes-bsp/pktlib/pktlib_git.bb +10 -3
index 17e5041..03399cf 100644
@@ -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"