[meta-xilinx] [PATCH 1/2] arm-trusted-firmware: Add PV to include file
Manjukumar Matha
manjukumar.harthikote-matha at xilinx.com
Thu Jan 11 15:38:43 PST 2018
Add PV with Xilinx release version and ATF version. This follows on
similar lines on how we handle kernel recipe
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha at xilinx.com>
---
.../recipes-bsp/arm-trusted-firmware/arm-trusted-firmware.inc | 6 +++++-
.../recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2017.3.bb | 5 ++---
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/meta-xilinx-bsp/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware.inc b/meta-xilinx-bsp/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware.inc
index 80d14f9..2aceba4 100644
--- a/meta-xilinx-bsp/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware.inc
+++ b/meta-xilinx-bsp/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware.inc
@@ -12,7 +12,11 @@ DEPENDS += "u-boot-mkimage-native"
S = "${WORKDIR}/git"
B = "${WORKDIR}/build"
-BRANCH ?= "master"
+XILINX_RELEASE_VERSION ?= ""
+ATF_VERSION_EXTENSION ?= "-xilinx-${XILINX_RELEASE_VERSION}"
+PV = "${ATF_VERSION}${ATF_VERSION_EXTENSION}+git${SRCPV}"
+
+BRANCH ?= ""
REPO ?= "git://github.com/Xilinx/arm-trusted-firmware.git;protocol=https"
BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}"
SRC_URI = "${REPO};${BRANCHARG}"
diff --git a/meta-xilinx-bsp/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2017.3.bb b/meta-xilinx-bsp/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2017.3.bb
index 9bf5cac..a9d4669 100644
--- a/meta-xilinx-bsp/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2017.3.bb
+++ b/meta-xilinx-bsp/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2017.3.bb
@@ -1,6 +1,5 @@
-include arm-trusted-firmware.inc
-
+ATF_VERSION = "1.3"
XILINX_RELEASE_VERSION = "v2017.3"
SRCREV ?= "f9b244beaa7ac6a670b192192b6e92e5fd6044dc"
-PV = "1.3-xilinx-${XILINX_RELEASE_VERSION}+git${SRCPV}"
+include arm-trusted-firmware.inc
--
2.7.4
This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
More information about the meta-xilinx
mailing list