mirror of
git://git.yoctoproject.org/meta-freescale.git
synced 2025-10-22 14:52:19 +02:00
fsl-u-boot-localversion.bbclass: Add back UBOOT_LOCALVERSION to .scmversion
This fixes regression done in the mentioned commit.
Fixes: d7e13f19fb
("fsl-u-boot-localversion.bbclass: fix SRCREV_machine and AUTOREV use cases")
Signed-off-by: Piotr Wojtaszczyk <piotr.wojtaszczyk@timesys.com>
This commit is contained in:
parent
8c5fbbce4d
commit
3a26a0b27f
|
@ -29,8 +29,8 @@ do_compile:prepend() {
|
|||
head=`git --git-dir=${S}/.git rev-parse --verify --short $hash 2> /dev/null`
|
||||
fi
|
||||
patches=`git --git-dir=${S}/.git rev-list --count $head..HEAD 2> /dev/null`
|
||||
printf "%s%s%s%s" +g $head +p $patches > ${S}/.scmversion
|
||||
printf "%s%s%s%s" +g $head +p $patches > ${B}/.scmversion
|
||||
printf "%s%s%s%s%s" "${UBOOT_LOCALVERSION}" +g $head +p $patches > ${S}/.scmversion
|
||||
printf "%s%s%s%s%s" "${UBOOT_LOCALVERSION}" +g $head +p $patches > ${B}/.scmversion
|
||||
else
|
||||
printf "%s" "${UBOOT_LOCALVERSION}" > ${S}/.scmversion
|
||||
printf "%s" "${UBOOT_LOCALVERSION}" > ${B}/.scmversion
|
||||
|
|
Loading…
Reference in New Issue
Block a user