From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 0B7F0E0083A; Sun, 4 Jan 2015 19:53:22 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [157.56.110.118 listed in list.dnswl.org] X-Greylist: delayed 943 seconds by postgrey-1.32 at yocto-www; Sun, 04 Jan 2015 19:53:17 PST Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0118.outbound.protection.outlook.com [157.56.110.118]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 76697E00521 for ; Sun, 4 Jan 2015 19:53:17 -0800 (PST) Received: from DM2PR03CA0038.namprd03.prod.outlook.com (10.141.96.37) by CY1PR0301MB0716.namprd03.prod.outlook.com (25.160.159.146) with Microsoft SMTP Server (TLS) id 15.1.49.12; Mon, 5 Jan 2015 03:37:31 +0000 Received: from BY2FFO11FD029.protection.gbl (2a01:111:f400:7c0c::192) by DM2PR03CA0038.outlook.office365.com (2a01:111:e400:2428::37) with Microsoft SMTP Server (TLS) id 15.1.49.12 via Frontend Transport; Mon, 5 Jan 2015 03:37:31 +0000 Received: from tx30smr01.am.freescale.net (192.88.168.50) by BY2FFO11FD029.mail.protection.outlook.com (10.1.14.212) with Microsoft SMTP Server (TLS) id 15.1.49.13 via Frontend Transport; Mon, 5 Jan 2015 03:37:30 +0000 Received: from neptune.ap.freescale.net (neptune.ap.freescale.net [10.192.208.77]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id t053bR30007894; Sun, 4 Jan 2015 20:37:28 -0700 From: To: Date: Mon, 5 Jan 2015 11:37:23 +0800 Message-ID: <1420429043-9190-1-git-send-email-ting.liu@freescale.com> X-Mailer: git-send-email 1.8.3.2 X-EOPAttributedMessage: 0 Received-SPF: Fail (protection.outlook.com: domain of freescale.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=ting.liu@freescale.com; X-Forefront-Antispam-Report: CIP:192.88.168.50; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(339900001)(199003)(189002)(50986999)(50226001)(86362001)(230783001)(36756003)(46102003)(48376002)(97736003)(50466002)(21056001)(87936001)(450100001)(77156002)(62966003)(89996001)(64706001)(20776003)(47776003)(86152002)(99396003)(106466001)(104016003)(105606002)(110136001)(33646002)(2351001)(107046002)(85426001)(229853001)(4396001)(77096005)(68736005)(84676001)(120916001)(19580395003)(19580405001)(6806004); DIR:OUT; SFP:1102; SCL:1; SRVR:CY1PR0301MB0716; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:sfv; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-DmarcAction: None X-Microsoft-Antispam: UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(3005003);SRVR:CY1PR0301MB0716; X-Forefront-PRVS: 0447DB1C71 X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jan 2015 03:37:30.9457 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d; Ip=[192.88.168.50] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0301MB0716 Subject: [meta-fsl-ppc][PATCH] linux-qoriq: fix building using out-of-tree X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jan 2015 03:53:22 -0000 Content-Type: text/plain From: Ting Liu Signed-off-by: Ting Liu --- 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