Embed the Xilinx Release Version (aka the 'xilinx-vYYYY.X' tag) into the
PV of the recipe, this makes it easier to determine which version of
Xilinx's ATF is being used.

Additionally change the version string to extend instead of extra data
(switch the '+' to a '-' before 'xilinx...').

This removes the need for the comment on what the SRCREV points at,
instead this is replaced with a XILINX_RELEASE_VERSION variable which
contains the 'vYYYY.X' release string.

Signed-off-by: Nathan Rossi <[email protected]>
---
 recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb 
b/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb
index 3ae1004fb2..4cd9cf3f7f 100644
--- a/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb
+++ b/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb
@@ -14,10 +14,10 @@ S = "${WORKDIR}/git"
 BRANCH = "master"
 SRC_URI = 
"git://github.com/Xilinx/arm-trusted-firmware.git;protocol=https;branch=${BRANCH}"
 
-# This points at the 'xilinx-v2016.3' tag
+XILINX_RELEASE_VERSION = "v2016.3"
 SRCREV ?= "a9e3716615a23c78e3cdea5b5b2f840f89817cb1"
 
-PV = "1.2+xilinx+git${SRCPV}"
+PV = "1.2-xilinx-${XILINX_RELEASE_VERSION}+git${SRCPV}"
 
 COMPATIBLE_MACHINE = "zynqmp"
 PLATFORM_zynqmp = "zynqmp"
-- 
2.10.2

-- 
_______________________________________________
meta-xilinx mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-xilinx

Reply via email to