aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManjukumar Matha <manjukumar.harthikote-matha@xilinx.com>2018-01-11 15:32:15 -0800
committerManjukumar Matha <manjukumar.harthikote-matha@xilinx.com>2018-01-31 13:28:58 -0800
commit535bcdf9796e1e2ca26286a45d8882003eb0b5b6 (patch)
treedb30f147220c801245b145f09cd0ccb18e6649fd
parent73921b4a599834308fc0dadb785f395dded89f9e (diff)
downloadmeta-xilinx-535bcdf9796e1e2ca26286a45d8882003eb0b5b6.tar.gz
meta-xilinx-535bcdf9796e1e2ca26286a45d8882003eb0b5b6.tar.bz2
meta-xilinx-535bcdf9796e1e2ca26286a45d8882003eb0b5b6.zip
arm-trusted-firmware: Add PV to include file
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@xilinx.com>
-rw-r--r--meta-xilinx-bsp/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware.inc6
-rw-r--r--meta-xilinx-bsp/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2017.3.bb5
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