diff options
Diffstat (limited to 'classes/fsl-kernel-localversion.bbclass')
-rw-r--r-- | classes/fsl-kernel-localversion.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/fsl-kernel-localversion.bbclass b/classes/fsl-kernel-localversion.bbclass index 6f9eb51..1004e35 100644 --- a/classes/fsl-kernel-localversion.bbclass +++ b/classes/fsl-kernel-localversion.bbclass | |||
@@ -7,7 +7,7 @@ | |||
7 | # SCMVERSION Puts the Git hash in kernel local version | 7 | # SCMVERSION Puts the Git hash in kernel local version |
8 | # LOCALVERSION Value used in LOCALVERSION (default to '+fslc') | 8 | # LOCALVERSION Value used in LOCALVERSION (default to '+fslc') |
9 | # | 9 | # |
10 | # Copyright 2014 (C) O.S. Systems Software LTDA. | 10 | # Copyright 2014, 2015 (C) O.S. Systems Software LTDA. |
11 | 11 | ||
12 | SCMVERSION ??= "y" | 12 | SCMVERSION ??= "y" |
13 | LOCALVERSION ??= "+fslc" | 13 | LOCALVERSION ??= "+fslc" |
@@ -34,6 +34,6 @@ do_configure_prepend() { | |||
34 | if [ "${SCMVERSION}" = "y" ]; then | 34 | if [ "${SCMVERSION}" = "y" ]; then |
35 | # Add GIT revision to the local version | 35 | # Add GIT revision to the local version |
36 | head=`git --git-dir=${S}/.git rev-parse --verify --short HEAD 2> /dev/null` | 36 | head=`git --git-dir=${S}/.git rev-parse --verify --short HEAD 2> /dev/null` |
37 | printf "%s%s" +g $head > ${B}/.scmversion | 37 | printf "%s%s" +g $head > ${S}/.scmversion |
38 | fi | 38 | fi |
39 | } | 39 | } |