From: <ting.liu@freescale.com>
To: <meta-freescale@yoctoproject.org>
Subject: [meta-fsl-ppc][PATCH] linux-qoriq: fix building using out-of-tree
Date: Mon, 5 Jan 2015 11:37:23 +0800 [thread overview]
Message-ID: <1420429043-9190-1-git-send-email-ting.liu@freescale.com> (raw)
From: Ting Liu <ting.liu@freescale.com>
Signed-off-by: Ting Liu <ting.liu@freescale.com>
---
recipes-kernel/linux/linux-qoriq.inc | 4 ++--
1 file 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() {
if [ -n "${SDK_VERSION}" ]; then
sdkversion="-${SDK_VERSION}"
fi
- head=`git rev-parse --verify --short HEAD 2> /dev/null`
- printf "%s%s%s" $sdkversion +g $head > ${S}/.scmversion
+ head=`git --git-dir=${S}/.git rev-parse --verify --short HEAD 2> /dev/null`
+ printf "%s%s%s" $sdkversion +g $head > ${B}/.scmversion
fi
}
--
1.8.3.2
next reply other threads:[~2015-01-05 3:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-05 3:37 ting.liu [this message]
2015-01-09 5:37 ` [meta-fsl-ppc][PATCH] linux-qoriq: fix building using out-of-tree Bob Cochran
2015-01-09 11:41 ` Otavio Salvador
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1420429043-9190-1-git-send-email-ting.liu@freescale.com \
--to=ting.liu@freescale.com \
--cc=meta-freescale@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.