From 51c651cf8c7d8ec33ab6b50feee41680fbb87281 Mon Sep 17 00:00:00 2001 From: Jacob Stiffler Date: Wed, 4 Nov 2015 01:47:22 +0000 Subject: pa-lld: Clean up recipes * Use INC_PR to track recipe revisions * Define variables for GIT SRC_URI parameters Signed-off-by: Jacob Stiffler Signed-off-by: Denys Dmytriyenko --- 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(-) (limited to 'recipes-bsp/pa-lld') diff --git a/recipes-bsp/pa-lld/pa-lld-test_git.bb b/recipes-bsp/pa-lld/pa-lld-test_git.bb index b70daddf..0fb6f079 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 b8ade647..58f0f424 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 468113b2..0cb3bc50 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 -- cgit v1.2.3-54-g00ecf