diff options
author | Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> | 2018-01-11 15:32:15 -0800 |
---|---|---|
committer | Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> | 2018-01-31 13:28:58 -0800 |
commit | 535bcdf9796e1e2ca26286a45d8882003eb0b5b6 (patch) | |
tree | db30f147220c801245b145f09cd0ccb18e6649fd /meta-xilinx-bsp/recipes-bsp/arm-trusted-firmware | |
parent | 73921b4a599834308fc0dadb785f395dded89f9e (diff) | |
download | meta-xilinx-535bcdf9796e1e2ca26286a45d8882003eb0b5b6.tar.gz |
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>
Diffstat (limited to 'meta-xilinx-bsp/recipes-bsp/arm-trusted-firmware')
-rw-r--r-- | meta-xilinx-bsp/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware.inc | 6 | ||||
-rw-r--r-- | meta-xilinx-bsp/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 80d14f96..2aceba4f 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" | |||
12 | S = "${WORKDIR}/git" | 12 | S = "${WORKDIR}/git" |
13 | B = "${WORKDIR}/build" | 13 | B = "${WORKDIR}/build" |
14 | 14 | ||
15 | BRANCH ?= "master" | 15 | XILINX_RELEASE_VERSION ?= "" |
16 | ATF_VERSION_EXTENSION ?= "-xilinx-${XILINX_RELEASE_VERSION}" | ||
17 | PV = "${ATF_VERSION}${ATF_VERSION_EXTENSION}+git${SRCPV}" | ||
18 | |||
19 | BRANCH ?= "" | ||
16 | REPO ?= "git://github.com/Xilinx/arm-trusted-firmware.git;protocol=https" | 20 | REPO ?= "git://github.com/Xilinx/arm-trusted-firmware.git;protocol=https" |
17 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | 21 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" |
18 | SRC_URI = "${REPO};${BRANCHARG}" | 22 | 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 9bf5cacf..a9d46691 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 @@ | |||
1 | include arm-trusted-firmware.inc | 1 | ATF_VERSION = "1.3" |
2 | |||
3 | XILINX_RELEASE_VERSION = "v2017.3" | 2 | XILINX_RELEASE_VERSION = "v2017.3" |
4 | SRCREV ?= "f9b244beaa7ac6a670b192192b6e92e5fd6044dc" | 3 | SRCREV ?= "f9b244beaa7ac6a670b192192b6e92e5fd6044dc" |
5 | 4 | ||
6 | PV = "1.3-xilinx-${XILINX_RELEASE_VERSION}+git${SRCPV}" | 5 | include arm-trusted-firmware.inc |