[meta-ti] Jacob Stiffler : mmap-lld: Clean up recipes
Arago Project git
git at arago-project.org
Wed Nov 4 07:00:01 PST 2015
Module: meta-ti
Branch: master
Commit: ba5a045f85afc3e510170a038ef4d55bce505bd7
URL: http://arago-project.org/git/meta-ti.git?a=commit;h=ba5a045f85afc3e510170a038ef4d55bce505bd7
Author: Jacob Stiffler <j-stiffler at ti.com>
Date: Wed Nov 4 01:47:18 2015 +0000
mmap-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 at ti.com>
Signed-off-by: Denys Dmytriyenko <denys at ti.com>
---
recipes-bsp/mmap-lld/mmap-lld-test_git.bb | 2 ++
recipes-bsp/mmap-lld/mmap-lld.inc | 15 +++++++++++----
recipes-bsp/mmap-lld/mmap-lld_git.bb | 2 ++
3 files changed, 15 insertions(+), 4 deletions(-)
diff --git a/recipes-bsp/mmap-lld/mmap-lld-test_git.bb b/recipes-bsp/mmap-lld/mmap-lld-test_git.bb
index 41e46f7..0617376 100644
--- a/recipes-bsp/mmap-lld/mmap-lld-test_git.bb
+++ b/recipes-bsp/mmap-lld/mmap-lld-test_git.bb
@@ -1,6 +1,8 @@
DESCRIPTION = "TI KEYSTONE MMAP driver test binaries "
include mmap-lld.inc
+PR = "${INC_PR}.0"
+
DEPENDS="common-csl-ip mmap-lld"
RDEPENDS_${PN}="uio-module-drv"
diff --git a/recipes-bsp/mmap-lld/mmap-lld.inc b/recipes-bsp/mmap-lld/mmap-lld.inc
index a5158d5..cde0fec 100644
--- a/recipes-bsp/mmap-lld/mmap-lld.inc
+++ b/recipes-bsp/mmap-lld/mmap-lld.inc
@@ -4,12 +4,19 @@ COMPATIBLE_MACHINE = "keystone"
LIC_FILES_CHKSUM = "file://COPYING.txt;md5=b3315b8190036fe1c6a8263d02e15606"
-BRANCH="master"
-SRC_URI = "git://git.ti.com/keystone-rtos/mmap-lld.git;destsuffix=git/ti/runtime/mmap;protocol=git;branch=${BRANCH}"
+MMAP_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/mmap-lld.git"
+MMAP_LLD_GIT_PROTOCOL = "git"
+MMAP_LLD_GIT_BRANCH = "master"
+MMAP_LLD_GIT_DESTSUFFIX = "git/ti/runtime/mmap"
+
# Commit correspond to DEV.MMAP.02.00.00.04
-SRCREV = "306895eb2d5decd14a760e70d273946958ff716f"
+MMAP_LLD_SRCREV = "306895eb2d5decd14a760e70d273946958ff716f"
+
+BRANCH="${MMAP_LLD_GIT_BRANCH}"
+SRC_URI = "${MMAP_LLD_GIT_URI};destsuffix=${MMAP_LLD_GIT_DESTSUFFIX};protocol=${MMAP_LLD_GIT_PROTOCOL};branch=${BRANCH}"
+SRCREV = "${MMAP_LLD_SRCREV}"
PV = "2.0.0.4"
-PR = "r1"
+INC_PR = "r2"
S = "${WORKDIR}/git/ti/runtime/mmap"
diff --git a/recipes-bsp/mmap-lld/mmap-lld_git.bb b/recipes-bsp/mmap-lld/mmap-lld_git.bb
index 3a56a62..1cfc90f 100644
--- a/recipes-bsp/mmap-lld/mmap-lld_git.bb
+++ b/recipes-bsp/mmap-lld/mmap-lld_git.bb
@@ -1,6 +1,8 @@
DESCRIPTION = "TI KEYSTONE mmap driver using Keystone MPAX Programming"
include mmap-lld.inc
+PR = "${INC_PR}.0"
+
DEPENDS="common-csl-ip"
do_compile () {
More information about the meta-ti
mailing list