summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTing Liu <ting.liu@freescale.com>2015-01-05 11:37:23 +0800
committerZhenhua Luo <zhenhua.luo@freescale.com>2015-01-07 10:11:22 +0800
commit4fe6e184396e83758b2b709c17674d97190972d8 (patch)
tree5b31e4ba21406f6369a526323a2bdf8d6249a827
parent770d5e33066b1f16ac060011d861843c079de16a (diff)
downloadmeta-freescale-4fe6e184396e83758b2b709c17674d97190972d8.tar.gz
linux-qoriq: fix building using out-of-tree
Signed-off-by: Ting Liu <ting.liu@freescale.com>
-rw-r--r--meta-fsl-ppc/recipes-kernel/linux/linux-qoriq.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq.inc b/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq.inc
index 9e463ddb..a832b46a 100644
--- a/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq.inc
+++ b/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq.inc
@@ -36,8 +36,8 @@ do_configure_prepend() {
36 if [ -n "${SDK_VERSION}" ]; then 36 if [ -n "${SDK_VERSION}" ]; then
37 sdkversion="-${SDK_VERSION}" 37 sdkversion="-${SDK_VERSION}"
38 fi 38 fi
39 head=`git rev-parse --verify --short HEAD 2> /dev/null` 39 head=`git --git-dir=${S}/.git rev-parse --verify --short HEAD 2> /dev/null`
40 printf "%s%s%s" $sdkversion +g $head > ${S}/.scmversion 40 printf "%s%s%s" $sdkversion +g $head > ${B}/.scmversion
41 fi 41 fi
42} 42}
43 43