diff options
author | Jacob Stiffler <j-stiffler@ti.com> | 2015-11-04 01:47:15 +0000 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2015-11-04 09:56:06 -0500 |
commit | 740fd7f424a4c8bf90a40fc5132f91d45d136697 (patch) | |
tree | f7ae3b1fbf19b214ffb42375782c3905b58e1f64 /recipes-bsp/hyplnk-lld | |
parent | 8abca6b3d0e331d031393422f5dd8d9538247a65 (diff) | |
download | meta-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.bb | 2 | ||||
-rw-r--r-- | recipes-bsp/hyplnk-lld/hyplnk-lld.inc | 21 | ||||
-rw-r--r-- | recipes-bsp/hyplnk-lld/hyplnk-lld_git.bb | 2 |
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 @@ | |||
1 | include hyplnk-lld.inc | 1 | include hyplnk-lld.inc |
2 | 2 | ||
3 | PR = "${INC_PR}.0" | ||
4 | |||
3 | DEPENDS = "common-csl-ip hyplnk-lld" | 5 | DEPENDS = "common-csl-ip hyplnk-lld" |
4 | 6 | ||
5 | do_compile () { | 7 | do_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 | ||
6 | LLDNAME="hyplnk" | 6 | LLDNAME="hyplnk" |
7 | 7 | ||
8 | LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/${LLDNAME}/COPYING.txt;md5=623325cc19e613a4e770fbb749922592" | 8 | LIC_FILES_CHKSUM = "file://${WORKDIR}/${HYPLNK_GIT_DESTSUFFIX}/COPYING.txt;md5=623325cc19e613a4e770fbb749922592" |
9 | |||
10 | HYPLNK_GIT_URI = "git://git.ti.com/keystone-rtos/hyplnk-lld.git" | ||
11 | HYPLNK_GIT_PROTOCOL = "git" | ||
12 | HYPLNK_GIT_BRANCH = "master" | ||
13 | HYPLNK_GIT_DESTSUFFIX = "git/ti/drv/${LLDNAME}" | ||
9 | 14 | ||
10 | BRANCH="master" | ||
11 | SRC_URI = "git://git.ti.com/keystone-rtos/hyplnk-lld.git;destsuffix=git/ti/drv/${LLDNAME};protocol=git;branch=${BRANCH}" | ||
12 | FILESPATH_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 |
14 | SRCREV = "ea2a634578626deaa69608a189d5d7e84e5b7127" | 16 | HYPLNK_SRCREV = "ea2a634578626deaa69608a189d5d7e84e5b7127" |
17 | |||
18 | BRANCH="${HYPLNK_GIT_BRANCH}" | ||
19 | SRC_URI = "${HYPLNK_GIT_URI};destsuffix=${HYPLNK_GIT_DESTSUFFIX};protocol=${HYPLNK_GIT_PROTOCOL};branch=${BRANCH}" | ||
20 | SRCREV = "${HYPLNK_SRCREV}" | ||
15 | 21 | ||
16 | PV = "2.1.0.5" | 22 | PV = "2.1.0.5" |
17 | PR = "r1" | 23 | INC_PR = "r2" |
18 | 24 | ||
19 | DEVICELIST = " k2h \ | 25 | DEVICELIST = " k2h \ |
20 | k2k \ | 26 | k2k \ |
21 | k2e \ | 27 | k2e \ |
22 | " | 28 | " |
23 | 29 | ||
24 | BASEDIR = "${WORKDIR}/git" | 30 | S = "${WORKDIR}/${HYPLNK_GIT_DESTSUFFIX}" |
25 | S = "${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 @@ | |||
1 | include hyplnk-lld.inc | 1 | include hyplnk-lld.inc |
2 | 2 | ||
3 | PR = "${INC_PR}.0" | ||
4 | |||
3 | DEPENDS = "common-csl-ip" | 5 | DEPENDS = "common-csl-ip" |
4 | 6 | ||
5 | SRC_URI += "file://init_hyplnk.sh" | 7 | SRC_URI += "file://init_hyplnk.sh" |