summaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorPiotr Wojtaszczyk <piotr.wojtaszczyk@timesys.com>2024-07-30 13:12:07 +0200
committerPiotr Wojtaszczyk <piotr.wojtaszczyk@timesys.com>2024-07-30 13:16:25 +0200
commit3a26a0b27ff574188a4a9433b27890f384c89b82 (patch)
tree3ac420e29c55377c73c441c9708c5cd3054cb810 /classes
parent8c5fbbce4d6260146d6e4c8b8f6f4a032c8f0a4f (diff)
downloadmeta-freescale-3a26a0b27ff574188a4a9433b27890f384c89b82.tar.gz
fsl-u-boot-localversion.bbclass: Add back UBOOT_LOCALVERSION to .scmversion
This fixes regression done in the mentioned commit. Fixes: d7e13f19fbf9 ("fsl-u-boot-localversion.bbclass: fix SRCREV_machine and AUTOREV use cases") Signed-off-by: Piotr Wojtaszczyk <piotr.wojtaszczyk@timesys.com>
Diffstat (limited to 'classes')
-rw-r--r--classes/fsl-u-boot-localversion.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/fsl-u-boot-localversion.bbclass b/classes/fsl-u-boot-localversion.bbclass
index 90e86783..df4ac5fb 100644
--- a/classes/fsl-u-boot-localversion.bbclass
+++ b/classes/fsl-u-boot-localversion.bbclass
@@ -29,8 +29,8 @@ do_compile:prepend() {
29 head=`git --git-dir=${S}/.git rev-parse --verify --short $hash 2> /dev/null` 29 head=`git --git-dir=${S}/.git rev-parse --verify --short $hash 2> /dev/null`
30 fi 30 fi
31 patches=`git --git-dir=${S}/.git rev-list --count $head..HEAD 2> /dev/null` 31 patches=`git --git-dir=${S}/.git rev-list --count $head..HEAD 2> /dev/null`
32 printf "%s%s%s%s" +g $head +p $patches > ${S}/.scmversion 32 printf "%s%s%s%s%s" "${UBOOT_LOCALVERSION}" +g $head +p $patches > ${S}/.scmversion
33 printf "%s%s%s%s" +g $head +p $patches > ${B}/.scmversion 33 printf "%s%s%s%s%s" "${UBOOT_LOCALVERSION}" +g $head +p $patches > ${B}/.scmversion
34 else 34 else
35 printf "%s" "${UBOOT_LOCALVERSION}" > ${S}/.scmversion 35 printf "%s" "${UBOOT_LOCALVERSION}" > ${S}/.scmversion
36 printf "%s" "${UBOOT_LOCALVERSION}" > ${B}/.scmversion 36 printf "%s" "${UBOOT_LOCALVERSION}" > ${B}/.scmversion