1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-04-20 19:53:43 +00:00

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>
This commit is contained in:
Jacob Stiffler
2015-11-04 01:47:15 +00:00
committed by Denys Dmytriyenko
parent 8abca6b3d0
commit 740fd7f424
3 changed files with 17 additions and 8 deletions

View File

@@ -1,5 +1,7 @@
include hyplnk-lld.inc
PR = "${INC_PR}.0"
DEPENDS = "common-csl-ip hyplnk-lld"
do_compile () {

View File

@@ -5,21 +5,26 @@ COMPATIBLE_MACHINE = "keystone"
LLDNAME="hyplnk"
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/${LLDNAME}/COPYING.txt;md5=623325cc19e613a4e770fbb749922592"
LIC_FILES_CHKSUM = "file://${WORKDIR}/${HYPLNK_GIT_DESTSUFFIX}/COPYING.txt;md5=623325cc19e613a4e770fbb749922592"
HYPLNK_GIT_URI = "git://git.ti.com/keystone-rtos/hyplnk-lld.git"
HYPLNK_GIT_PROTOCOL = "git"
HYPLNK_GIT_BRANCH = "master"
HYPLNK_GIT_DESTSUFFIX = "git/ti/drv/${LLDNAME}"
BRANCH="master"
SRC_URI = "git://git.ti.com/keystone-rtos/hyplnk-lld.git;destsuffix=git/ti/drv/${LLDNAME};protocol=git;branch=${BRANCH}"
FILESPATH_prepend := "${THISDIR}/files"
# Following commit corresponds to tag DEV.HYPLNK_LLD.02.01.00.05
SRCREV = "ea2a634578626deaa69608a189d5d7e84e5b7127"
HYPLNK_SRCREV = "ea2a634578626deaa69608a189d5d7e84e5b7127"
BRANCH="${HYPLNK_GIT_BRANCH}"
SRC_URI = "${HYPLNK_GIT_URI};destsuffix=${HYPLNK_GIT_DESTSUFFIX};protocol=${HYPLNK_GIT_PROTOCOL};branch=${BRANCH}"
SRCREV = "${HYPLNK_SRCREV}"
PV = "2.1.0.5"
PR = "r1"
INC_PR = "r2"
DEVICELIST = " k2h \
k2k \
k2e \
"
BASEDIR = "${WORKDIR}/git"
S = "${BASEDIR}/ti/drv/${LLDNAME}"
S = "${WORKDIR}/${HYPLNK_GIT_DESTSUFFIX}"

View File

@@ -1,5 +1,7 @@
include hyplnk-lld.inc
PR = "${INC_PR}.0"
DEPENDS = "common-csl-ip"
SRC_URI += "file://init_hyplnk.sh"