diff options
author | Joerg Hofrichter <joerg.hofrichter@ni.com> | 2020-01-17 14:50:54 +0100 |
---|---|---|
committer | Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> | 2020-09-30 11:33:46 -0700 |
commit | 77b676f8f0970c0f93abb05b70c74848bb593cef (patch) | |
tree | 68d62faf7599a20d4e3947c59f4ec6fb36073685 | |
parent | 2107679d97c2cdab31c5bb8360548a17435d32f4 (diff) | |
download | meta-xilinx-77b676f8f0970c0f93abb05b70c74848bb593cef.tar.gz |
pmu-firmware_2019.1.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>
-rw-r--r-- | meta-xilinx-standalone/recipes-standalone/pmu-firmware/pmu-firmware_2020.1.bb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/meta-xilinx-standalone/recipes-standalone/pmu-firmware/pmu-firmware_2020.1.bb b/meta-xilinx-standalone/recipes-standalone/pmu-firmware/pmu-firmware_2020.1.bb index 3ed9c55a..652241c0 100644 --- a/meta-xilinx-standalone/recipes-standalone/pmu-firmware/pmu-firmware_2020.1.bb +++ b/meta-xilinx-standalone/recipes-standalone/pmu-firmware/pmu-firmware_2020.1.bb | |||
@@ -53,8 +53,7 @@ do_install() { | |||
53 | : | 53 | : |
54 | } | 54 | } |
55 | 55 | ||
56 | PMU_FIRMWARE_BASE_NAME ?= "${BPN}-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}" | 56 | PMU_FIRMWARE_BASE_NAME ?= "${BPN}-${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" |
57 | PMU_FIRMWARE_BASE_NAME[vardepsexclude] = "DATETIME" | ||
58 | 57 | ||
59 | do_deploy() { | 58 | do_deploy() { |
60 | install -Dm 0644 ${B}/executable.elf ${DEPLOYDIR}/${PMU_FIRMWARE_BASE_NAME}.elf | 59 | install -Dm 0644 ${B}/executable.elf ${DEPLOYDIR}/${PMU_FIRMWARE_BASE_NAME}.elf |
@@ -65,4 +64,3 @@ do_deploy() { | |||
65 | } | 64 | } |
66 | 65 | ||
67 | addtask deploy before do_build after do_install | 66 | addtask deploy before do_build after do_install |
68 | |||