summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-bsp/recipes-bsp/arm-trusted-firmware
diff options
context:
space:
mode:
authorJoerg Hofrichter <joerg.hofrichter@ni.com>2020-01-17 14:44:24 +0100
committerSai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>2020-09-30 11:32:39 -0700
commita029d5a075e0ed576a4836de4a6325f470e2d32a (patch)
tree037236ed7c45cd19567ee7625ed9d562812485db /meta-xilinx-bsp/recipes-bsp/arm-trusted-firmware
parent4882f3643717df44af864f6d2133e90f524923c0 (diff)
downloadmeta-xilinx-a029d5a075e0ed576a4836de4a6325f470e2d32a.tar.gz
arm-trusted-firmware.inc: use IMAGE_VERSION_SUFFIX instead of DATETIME
Use variable IMAGE_VERSION_SUFFIX variable instead of DATETIME. Using IMAGE_VERSION_SUFFIX allows easier and more direct changes. The variable is available since Yocto 2.6 and it is used also for other name variables, e.g. IMAGE_NAME. It is set to "-${DATETIME}" per default, so the naming does not change as long as IMAGE_VERSION_SUFFIX is not overridden. For more details, see: https://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#migration-2.6-image-kernel-artifact-naming-changes Signed-off-by: Joerg Hofrichter <joerg.hofrichter@ni.com> Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@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.inc3
1 files changed, 1 insertions, 2 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 40a3d75d..b086f8ca 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
@@ -24,8 +24,7 @@ REPO ?= "git://github.com/Xilinx/arm-trusted-firmware.git;protocol=https"
24BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" 24BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}"
25SRC_URI = "${REPO};${BRANCHARG}" 25SRC_URI = "${REPO};${BRANCHARG}"
26 26
27ATF_BASE_NAME ?= "${PN}-${PKGE}-${PKGV}-${PKGR}-${DATETIME}" 27ATF_BASE_NAME ?= "${PN}-${PKGE}-${PKGV}-${PKGR}${IMAGE_VERSION_SUFFIX}"
28ATF_BASE_NAME[vardepsexclude] = "DATETIME"
29 28
30COMPATIBLE_MACHINE ?= "^$" 29COMPATIBLE_MACHINE ?= "^$"
31COMPATIBLE_MACHINE_zynqmp = ".*" 30COMPATIBLE_MACHINE_zynqmp = ".*"