Jacob Stiffler : pa-lld: Clean up recipes
Module: meta-ti Branch: fido Commit: 353d40c2c7fbfdcec8edf4892dcfada012b4028f URL: http://arago-project.org/git/meta-ti.git?a=commit;h=353d40c2c7fbfdcec8edf4892dcfada012b4028f
Author: Jacob Stiffler <[email protected]> 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 <[email protected]>
Signed-off-by Denys Dmytriyenko <[email protected]>
---
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(-)
recipes-bsp/pa-lld/pa-lld-test_git.bb +2 -0
@@ -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"
recipes-bsp/pa-lld/pa-lld.inc +12 -6
@@ -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}"
recipes-bsp/pa-lld/pa-lld_git.bb +2 -0
@@ -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