diff options
author | Ting Liu <ting.liu@freescale.com> | 2015-01-05 11:37:23 +0800 |
---|---|---|
committer | Zhenhua Luo <zhenhua.luo@freescale.com> | 2015-01-07 10:11:22 +0800 |
commit | 6766a7ffe57b1bbc303113f070dbdd45960ded83 (patch) | |
tree | 594c1030627f4208aeed4fe4fd42e6ef3d40c45a /recipes-kernel | |
parent | 486a72425f2f6e25efd9bfdbb9638fb58e90a85f (diff) | |
download | meta-fsl-ppc-6766a7ffe57b1bbc303113f070dbdd45960ded83.tar.gz |
linux-qoriq: fix building using out-of-tree
Signed-off-by: Ting Liu <ting.liu@freescale.com>
Diffstat (limited to 'recipes-kernel')
-rw-r--r-- | recipes-kernel/linux/linux-qoriq.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-kernel/linux/linux-qoriq.inc b/recipes-kernel/linux/linux-qoriq.inc index 9e463dd..a832b46 100644 --- a/recipes-kernel/linux/linux-qoriq.inc +++ b/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 | ||