summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/hyplnk-lld
diff options
context:
space:
mode:
authorJacob Stiffler <j-stiffler@ti.com>2015-11-04 01:47:15 +0000
committerDenys Dmytriyenko <denys@ti.com>2015-11-04 09:56:06 -0500
commit740fd7f424a4c8bf90a40fc5132f91d45d136697 (patch)
treef7ae3b1fbf19b214ffb42375782c3905b58e1f64 /recipes-bsp/hyplnk-lld
parent8abca6b3d0e331d031393422f5dd8d9538247a65 (diff)
downloadmeta-ti-740fd7f424a4c8bf90a40fc5132f91d45d136697.tar.gz
hyplnk-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@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-bsp/hyplnk-lld')
-rw-r--r--recipes-bsp/hyplnk-lld/hyplnk-lld-test_git.bb2
-rw-r--r--recipes-bsp/hyplnk-lld/hyplnk-lld.inc21
-rw-r--r--recipes-bsp/hyplnk-lld/hyplnk-lld_git.bb2
3 files changed, 17 insertions, 8 deletions
diff --git a/recipes-bsp/hyplnk-lld/hyplnk-lld-test_git.bb b/recipes-bsp/hyplnk-lld/hyplnk-lld-test_git.bb
index c33e2dfe..31b69c26 100644
--- a/recipes-bsp/hyplnk-lld/hyplnk-lld-test_git.bb
+++ b/recipes-bsp/hyplnk-lld/hyplnk-lld-test_git.bb
@@ -1,5 +1,7 @@
1include hyplnk-lld.inc 1include hyplnk-lld.inc
2 2
3PR = "${INC_PR}.0"
4
3DEPENDS = "common-csl-ip hyplnk-lld" 5DEPENDS = "common-csl-ip hyplnk-lld"
4 6
5do_compile () { 7do_compile () {
diff --git a/recipes-bsp/hyplnk-lld/hyplnk-lld.inc b/recipes-bsp/hyplnk-lld/hyplnk-lld.inc
index 70b5d80a..09fec453 100644
--- a/recipes-bsp/hyplnk-lld/hyplnk-lld.inc
+++ b/recipes-bsp/hyplnk-lld/hyplnk-lld.inc
@@ -5,21 +5,26 @@ COMPATIBLE_MACHINE = "keystone"
5 5
6LLDNAME="hyplnk" 6LLDNAME="hyplnk"
7 7
8LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/${LLDNAME}/COPYING.txt;md5=623325cc19e613a4e770fbb749922592" 8LIC_FILES_CHKSUM = "file://${WORKDIR}/${HYPLNK_GIT_DESTSUFFIX}/COPYING.txt;md5=623325cc19e613a4e770fbb749922592"
9
10HYPLNK_GIT_URI = "git://git.ti.com/keystone-rtos/hyplnk-lld.git"
11HYPLNK_GIT_PROTOCOL = "git"
12HYPLNK_GIT_BRANCH = "master"
13HYPLNK_GIT_DESTSUFFIX = "git/ti/drv/${LLDNAME}"
9 14
10BRANCH="master"
11SRC_URI = "git://git.ti.com/keystone-rtos/hyplnk-lld.git;destsuffix=git/ti/drv/${LLDNAME};protocol=git;branch=${BRANCH}"
12FILESPATH_prepend := "${THISDIR}/files"
13# Following commit corresponds to tag DEV.HYPLNK_LLD.02.01.00.05 15# Following commit corresponds to tag DEV.HYPLNK_LLD.02.01.00.05
14SRCREV = "ea2a634578626deaa69608a189d5d7e84e5b7127" 16HYPLNK_SRCREV = "ea2a634578626deaa69608a189d5d7e84e5b7127"
17
18BRANCH="${HYPLNK_GIT_BRANCH}"
19SRC_URI = "${HYPLNK_GIT_URI};destsuffix=${HYPLNK_GIT_DESTSUFFIX};protocol=${HYPLNK_GIT_PROTOCOL};branch=${BRANCH}"
20SRCREV = "${HYPLNK_SRCREV}"
15 21
16PV = "2.1.0.5" 22PV = "2.1.0.5"
17PR = "r1" 23INC_PR = "r2"
18 24
19DEVICELIST = " k2h \ 25DEVICELIST = " k2h \
20 k2k \ 26 k2k \
21 k2e \ 27 k2e \
22" 28"
23 29
24BASEDIR = "${WORKDIR}/git" 30S = "${WORKDIR}/${HYPLNK_GIT_DESTSUFFIX}"
25S = "${BASEDIR}/ti/drv/${LLDNAME}"
diff --git a/recipes-bsp/hyplnk-lld/hyplnk-lld_git.bb b/recipes-bsp/hyplnk-lld/hyplnk-lld_git.bb
index 8be072ca..e20ad1f0 100644
--- a/recipes-bsp/hyplnk-lld/hyplnk-lld_git.bb
+++ b/recipes-bsp/hyplnk-lld/hyplnk-lld_git.bb
@@ -1,5 +1,7 @@
1include hyplnk-lld.inc 1include hyplnk-lld.inc
2 2
3PR = "${INC_PR}.0"
4
3DEPENDS = "common-csl-ip" 5DEPENDS = "common-csl-ip"
4 6
5SRC_URI += "file://init_hyplnk.sh" 7SRC_URI += "file://init_hyplnk.sh"