[meta-ti] Jacob Stiffler : pa-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: 51c651cf8c7d8ec33ab6b50feee41680fbb87281
URL: http://arago-project.org/git/meta-ti.git?a=commit;h=51c651cf8c7d8ec33ab6b50feee41680fbb87281
Author: Jacob Stiffler <j-stiffler at ti.com>
Date: Wed Nov 4 01:47:22 2015 +0000
pa-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/pa-lld/pa-lld-test_git.bb | 2 ++
recipes-bsp/pa-lld/pa-lld.inc | 18 ++++++++++++------
recipes-bsp/pa-lld/pa-lld_git.bb | 2 ++
3 files changed, 16 insertions(+), 6 deletions(-)
diff --git a/recipes-bsp/pa-lld/pa-lld-test_git.bb b/recipes-bsp/pa-lld/pa-lld-test_git.bb
index b70dadd..0fb6f07 100644
--- a/recipes-bsp/pa-lld/pa-lld-test_git.bb
+++ b/recipes-bsp/pa-lld/pa-lld-test_git.bb
@@ -4,6 +4,8 @@ DEPENDS = "common-csl-ip pa-lld cppi-lld qmss-lld sa-lld"
include pa-lld.inc
+PR = "${INC_PR}.0"
+
DEVICELIST = "k2h k2k k2l k2e"
CHOICELIST = "yes no"
diff --git a/recipes-bsp/pa-lld/pa-lld.inc b/recipes-bsp/pa-lld/pa-lld.inc
index b8ade64..58f0f42 100644
--- a/recipes-bsp/pa-lld/pa-lld.inc
+++ b/recipes-bsp/pa-lld/pa-lld.inc
@@ -3,13 +3,19 @@ LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/pa/COPYING.txt;md5=e8f6789acdcd
COMPATIBLE_MACHINE = "keystone"
-BRANCH = "master"
-SRC_URI = "git://git.ti.com/keystone-rtos/pa-lld.git;destsuffix=git/ti/drv/pa;protocol=git;branch=${BRANCH}"
+PA_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/pa-lld.git"
+PA_LLD_GIT_PROTOCOL = "git"
+PA_LLD_GIT_BRANCH = "master"
+PA_LLD_GIT_DESTSUFFIX = "git/ti/drv/pa"
# Below Commit ID corresponds to "DEV.PA_LLD.03.00.01.05A"
-SRCREV = "ae3aa3e80ecf64fe5a16515d134a6bc217220e2e"
+PA_LLD_SRCREV = "ae3aa3e80ecf64fe5a16515d134a6bc217220e2e"
+
+BRANCH = "${PA_LLD_GIT_BRANCH}"
+SRC_URI = "${PA_LLD_GIT_URI};destsuffix=${PA_LLD_GIT_DESTSUFFIX};protocol=${PA_LLD_GIT_PROTOCOL};branch=${BRANCH}"
+SRCREV = "${PA_LLD_SRCREV}"
+
PV = "03.00.01.05"
-PR = "r1"
+INC_PR = "r2"
-BASEDIR = "${WORKDIR}/git"
-S = "${BASEDIR}/ti/drv/pa"
+S = "${WORKDIR}/${PA_LLD_GIT_DESTSUFFIX}"
diff --git a/recipes-bsp/pa-lld/pa-lld_git.bb b/recipes-bsp/pa-lld/pa-lld_git.bb
index 468113b..0cb3bc5 100644
--- a/recipes-bsp/pa-lld/pa-lld_git.bb
+++ b/recipes-bsp/pa-lld/pa-lld_git.bb
@@ -4,6 +4,8 @@ DEPENDS = "common-csl-ip rm-lld"
include pa-lld.inc
+PR = "${INC_PR}.0"
+
SRC_URI += "file://init_pa.sh"
inherit update-rc.d
More information about the meta-ti
mailing list