From 7009b62508816c4dc0c018ed2c512647e3e46b9a Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Tue, 11 Oct 2022 08:47:58 -0700 Subject: xlnx-embeddedsw: Move PV to append It is possible for a recipe that uses this class to have a different version then ESW_VER. Instead of replacing the defined version, just append out git information. This ensures that PREFERRED_VERSION and other version specific behavior remain as intented. Signed-off-by: Mark Hatle --- meta-xilinx-standalone/classes/xlnx-embeddedsw.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-xilinx-standalone/classes/xlnx-embeddedsw.bbclass b/meta-xilinx-standalone/classes/xlnx-embeddedsw.bbclass index 7a9b4686..13837a3e 100644 --- a/meta-xilinx-standalone/classes/xlnx-embeddedsw.bbclass +++ b/meta-xilinx-standalone/classes/xlnx-embeddedsw.bbclass @@ -20,4 +20,4 @@ LIC_FILES_CHKSUM[xlnx_rel_v2022.2] = 'ce611484168a6000bd35df68fc4f4290' LIC_FILES_CHKSUM ??= "file://license.txt;md5=${@d.getVarFlag('LIC_FILES_CHKSUM', d.getVar('BRANCH')) or '0'}" SRC_URI = "${EMBEDDEDSW_SRCURI}" -PV = "${ESW_VER}+git${SRCPV}" +PV .= "+git${SRCPV}" -- cgit v1.2.3-54-g00ecf