diff options
| -rw-r--r-- | classes/fsl-u-boot-localversion.bbclass | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/classes/fsl-u-boot-localversion.bbclass b/classes/fsl-u-boot-localversion.bbclass index f7e097141..617aae1de 100644 --- a/classes/fsl-u-boot-localversion.bbclass +++ b/classes/fsl-u-boot-localversion.bbclass | |||
| @@ -17,7 +17,7 @@ UBOOT_LOCALVERSION = "${LOCALVERSION}" | |||
| 17 | do_compile_prepend() { | 17 | do_compile_prepend() { | 
| 18 | if [ "${SCMVERSION}" = "y" ]; then | 18 | if [ "${SCMVERSION}" = "y" ]; then | 
| 19 | # Add GIT revision to the local version | 19 | # Add GIT revision to the local version | 
| 20 | head=`git rev-parse --verify --short HEAD 2> /dev/null` | 20 | head=`cd ${S} ; git rev-parse --verify --short HEAD 2> /dev/null` | 
| 21 | printf "%s%s%s" "${UBOOT_LOCALVERSION}" +g $head > ${S}/.scmversion | 21 | printf "%s%s%s" "${UBOOT_LOCALVERSION}" +g $head > ${S}/.scmversion | 
| 22 | printf "%s%s%s" "${UBOOT_LOCALVERSION}" +g $head > ${B}/.scmversion | 22 | printf "%s%s%s" "${UBOOT_LOCALVERSION}" +g $head > ${B}/.scmversion | 
| 23 | else | 23 | else | 
