summaryrefslogtreecommitdiffstats
path: root/classes/fsl-u-boot-localversion.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/fsl-u-boot-localversion.bbclass')
-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