[meta-ti] Jacob Stiffler : qmss-lld: 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: c252c773147b650727819a3a6e60be0111ad6e0f
URL: http://arago-project.org/git/meta-ti.git?a=commit;h=c252c773147b650727819a3a6e60be0111ad6e0f
Author: Jacob Stiffler <j-stiffler at ti.com>
Date: Wed Nov 4 01:47:25 2015 +0000
qmss-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/qmss-lld/qmss-lld-test_git.bb | 2 ++
recipes-bsp/qmss-lld/qmss-lld.inc | 17 ++++++++++++-----
recipes-bsp/qmss-lld/qmss-lld_git.bb | 1 +
3 files changed, 15 insertions(+), 5 deletions(-)
diff --git a/recipes-bsp/qmss-lld/qmss-lld-test_git.bb b/recipes-bsp/qmss-lld/qmss-lld-test_git.bb
index 438d840..7c19364 100644
--- a/recipes-bsp/qmss-lld/qmss-lld-test_git.bb
+++ b/recipes-bsp/qmss-lld/qmss-lld-test_git.bb
@@ -5,6 +5,8 @@ DEPENDS="common-csl-ip rm-lld cppi-lld qmss-lld"
include qmss-lld.inc
+PR = "${INC_PR}.0"
+
CHOICELIST = "yes no"
do_compile () {
diff --git a/recipes-bsp/qmss-lld/qmss-lld.inc b/recipes-bsp/qmss-lld/qmss-lld.inc
index 29ef0ce..efd681e 100644
--- a/recipes-bsp/qmss-lld/qmss-lld.inc
+++ b/recipes-bsp/qmss-lld/qmss-lld.inc
@@ -1,14 +1,21 @@
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/qmss/COPYING.txt;md5=e8f6789acdcda76d02ed9203fc2e603d"
-BRANCH ="master"
-SRC_URI = "git://git.ti.com/keystone-rtos/qmss-lld.git;destsuffix=git/ti/drv/qmss;protocol=git;branch=${BRANCH}"
+QMSS_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/qmss-lld.git"
+QMSS_LLD_GIT_PROTOCOL = "git"
+QMSS_LLD_GIT_BRANCH = "master"
+QMSS_LLD_GIT_DESTSUFFIX = "git/ti/drv/qmss"
# commit ID corresponding to DEV.QMSS_LLD.02.01.00.11
-SRCREV = "2024ab2d411c1a6dd3f5e768a3cb30c2a685f1e4"
+QMSS_LLD_SRCREV = "2024ab2d411c1a6dd3f5e768a3cb30c2a685f1e4"
+
+BRANCH ="${QMSS_LLD_GIT_BRANCH}"
+SRC_URI = "${QMSS_LLD_GIT_URI};destsuffix=${QMSS_LLD_GIT_DESTSUFFIX};protocol=${QMSS_LLD_GIT_PROTOCOL};branch=${BRANCH}"
+SRCREV = "${QMSS_LLD_SRCREV}"
+
PV = "02.01.00.11"
+INC_PR = "r1"
DEVICELIST = "k2h k2k k2l k2e"
-BASEDIR = "${WORKDIR}/git"
-S = "${BASEDIR}/ti/drv/qmss"
+S = "${WORKDIR}/${QMSS_LLD_GIT_DESTSUFFIX}"
diff --git a/recipes-bsp/qmss-lld/qmss-lld_git.bb b/recipes-bsp/qmss-lld/qmss-lld_git.bb
index 38b0762..83c9a7e 100644
--- a/recipes-bsp/qmss-lld/qmss-lld_git.bb
+++ b/recipes-bsp/qmss-lld/qmss-lld_git.bb
@@ -5,6 +5,7 @@ DEPENDS="common-csl-ip rm-lld"
include qmss-lld.inc
+PR = "${INC_PR}.0"
SRC_URI += "file://init_qmss.sh"
More information about the meta-ti
mailing list