aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacob Stiffler <j-stiffler@ti.com>2015-11-04 01:47:30 +0000
committerDenys Dmytriyenko <denys@ti.com>2015-11-04 10:03:29 -0500
commit5a37604c894f18aa5fde45fd119a9e3e99badd8b (patch)
tree83e3671819cfc84f7d94af362d69035661bd6b0d
parent2aadb3d5c0263b4a07d77d4cb0efdc7f226fe4ba (diff)
downloadmeta-ti-5a37604c894f18aa5fde45fd119a9e3e99badd8b.tar.gz
meta-ti-5a37604c894f18aa5fde45fd119a9e3e99badd8b.tar.bz2
meta-ti-5a37604c894f18aa5fde45fd119a9e3e99badd8b.zip
srio-lld: Clean up recipes
* Use INC_PR to track recipe revisions * Define variables for GIT SRC_URI parameters Signed-off-by: Jacob Stiffler <j-stiffler@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
-rw-r--r--recipes-bsp/srio-lld/srio-lld-test_git.bb2
-rw-r--r--recipes-bsp/srio-lld/srio-lld.inc14
-rw-r--r--recipes-bsp/srio-lld/srio-lld_git.bb2
3 files changed, 15 insertions, 3 deletions
diff --git a/recipes-bsp/srio-lld/srio-lld-test_git.bb b/recipes-bsp/srio-lld/srio-lld-test_git.bb
index 7cf254e1..da3e3575 100644
--- a/recipes-bsp/srio-lld/srio-lld-test_git.bb
+++ b/recipes-bsp/srio-lld/srio-lld-test_git.bb
@@ -4,6 +4,8 @@ DEPENDS="common-csl-ip rm-lld cppi-lld qmss-lld srio-lld cmem"
include srio-lld.inc
+PR = "${INC_PR}.0"
+
CHOICELIST = "yes no"
do_compile () {
diff --git a/recipes-bsp/srio-lld/srio-lld.inc b/recipes-bsp/srio-lld/srio-lld.inc
index 0f1ee2d1..6e51f79c 100644
--- a/recipes-bsp/srio-lld/srio-lld.inc
+++ b/recipes-bsp/srio-lld/srio-lld.inc
@@ -1,12 +1,20 @@
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/srio/srio_drv.h;beginline=1;endline=41;md5=469096088e072d883ff7eef301b34093"
-BRANCH = "master"
-SRC_URI = "git://git.ti.com/keystone-rtos/srio-lld.git;destsuffix=git/ti/drv/srio;protocol=git;branch=${BRANCH}"
+SRIO_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/srio-lld.git"
+SRIO_LLD_GIT_PROTOCOL = "git"
+SRIO_LLD_GIT_BRANCH = "master"
+SRIO_LLD_GIT_DESTSUFFIX = "git/ti/drv/srio"
# commit ID corresponding to DEV.SRIO_LLD.02.00.00.13
-SRCREV = "dc49972265afd3ffd3b29ca235b8ca6daf790bd1"
+SRIO_LLD_SRCREV = "dc49972265afd3ffd3b29ca235b8ca6daf790bd1"
+
+BRANCH = "${SRIO_LLD_GIT_BRANCH}"
+SRC_URI = "${SRIO_LLD_GIT_URI};destsuffix=${SRIO_LLD_GIT_DESTSUFFIX};protocol=${SRIO_LLD_GIT_PROTOCOL};branch=${BRANCH}"
+SRCREV = "${SRIO_LLD_SRCREV}"
+
PV = "02.00.00.13"
+INC_PR = "r1"
DEVICELIST = "k2h k2k"
diff --git a/recipes-bsp/srio-lld/srio-lld_git.bb b/recipes-bsp/srio-lld/srio-lld_git.bb
index 9ff845b2..ba3cc246 100644
--- a/recipes-bsp/srio-lld/srio-lld_git.bb
+++ b/recipes-bsp/srio-lld/srio-lld_git.bb
@@ -5,6 +5,8 @@ DEPENDS="common-csl-ip rm-lld cppi-lld"
include srio-lld.inc
+PR = "${INC_PR}.0"
+
do_compile () {
# Now build the lld
oe_runmake clean