diff options
Diffstat (limited to 'classes/toradex-u-boot-localversion.bbclass')
-rw-r--r-- | classes/toradex-u-boot-localversion.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/toradex-u-boot-localversion.bbclass b/classes/toradex-u-boot-localversion.bbclass index 153469d..3ad86db 100644 --- a/classes/toradex-u-boot-localversion.bbclass +++ b/classes/toradex-u-boot-localversion.bbclass @@ -19,7 +19,7 @@ UBOOT_LOCALVERSION = "${LOCALVERSION}" do_compile_prepend() { if [ "${SCMVERSION}" = "y" ]; then - head=`cd ${S} ; git rev-parse --verify --short HEAD 2> /dev/null` + head=`cd ${S} ; git rev-parse --verify --short=12 HEAD 2> /dev/null` printf "%s+git.%s" "${UBOOT_LOCALVERSION}" $head > ${S}/.scmversion printf "%s+git.%s" "${UBOOT_LOCALVERSION}" $head > ${B}/.scmversion fi |