diff options
author | Joerg Hofrichter <joerg.hofrichter@ni.com> | 2020-01-17 14:48:47 +0100 |
---|---|---|
committer | Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> | 2020-09-30 11:33:07 -0700 |
commit | 2107679d97c2cdab31c5bb8360548a17435d32f4 (patch) | |
tree | efd220fbaeac01bbb61e94add8d5e2abbf81acfc /meta-xilinx-bsp/recipes-bsp | |
parent | a029d5a075e0ed576a4836de4a6325f470e2d32a (diff) | |
download | meta-xilinx-2107679d97c2cdab31c5bb8360548a17435d32f4.tar.gz |
u-boot-zynq-scr.bb: 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')
-rw-r--r-- | meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-zynq-scr.bb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-zynq-scr.bb b/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-zynq-scr.bb index 7ce8fc07..45a2e2c8 100644 --- a/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-zynq-scr.bb +++ b/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-zynq-scr.bb | |||
@@ -34,11 +34,9 @@ SRC_URI = " \ | |||
34 | " | 34 | " |
35 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 35 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
36 | 36 | ||
37 | UBOOTSCR_BASE_NAME ?= "${PN}-${PKGE}-${PKGV}-${PKGR}-${DATETIME}" | 37 | UBOOTSCR_BASE_NAME ?= "${PN}-${PKGE}-${PKGV}-${PKGR}${IMAGE_VERSION_SUFFIX}" |
38 | UBOOTSCR_BASE_NAME[vardepsexclude] = "DATETIME" | ||
39 | UBOOTPXE_CONFIG ?= "pxelinux.cfg" | 38 | UBOOTPXE_CONFIG ?= "pxelinux.cfg" |
40 | UBOOTPXE_CONFIG_NAME = "${UBOOTPXE_CONFIG}-${DATETIME}" | 39 | UBOOTPXE_CONFIG_NAME = "${UBOOTPXE_CONFIG}${IMAGE_VERSION_SUFFIX}" |
41 | UBOOTPXE_CONFIG_NAME[vardepsexclude] = "DATETIME" | ||
42 | 40 | ||
43 | DEVICETREE_ADDRESS_zynqmp ?= "0x100000" | 41 | DEVICETREE_ADDRESS_zynqmp ?= "0x100000" |
44 | DEVICETREE_ADDRESS_zynq ?= "0x2000000" | 42 | DEVICETREE_ADDRESS_zynq ?= "0x2000000" |