From patchwork Fri Mar 4 21:48:19 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Bird, Tim" X-Patchwork-Id: 8507871 Return-Path: X-Original-To: patchwork-ltsi-dev@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 0246D9F38C for ; Fri, 4 Mar 2016 21:48:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3314E20268 for ; Fri, 4 Mar 2016 21:48:30 +0000 (UTC) Received: from mail.linuxfoundation.org (mail.linuxfoundation.org [140.211.169.12]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3F24A20260 for ; Fri, 4 Mar 2016 21:48:29 +0000 (UTC) Received: from mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id 02BB2C79; Fri, 4 Mar 2016 21:48:29 +0000 (UTC) X-Original-To: ltsi-dev@lists.linuxfoundation.org Delivered-To: ltsi-dev@mail.linuxfoundation.org Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 25DDEC79 for ; Fri, 4 Mar 2016 21:48:28 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from SELDSEGREL01.sonyericsson.com (seldsegrel01.sonyericsson.com [37.139.156.29]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 55C12188 for ; Fri, 4 Mar 2016 21:48:26 +0000 (UTC) To: "ltsi-dev@lists.linuxfoundation.org" From: Tim Bird Message-ID: <56DA02A3.50001@sonymobile.com> Date: Fri, 4 Mar 2016 13:48:19 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org Cc: Artemi Ivanov , Dmitry Cherkasov Subject: [LTSI-dev] [PATCH] add AR definition for arm-linux-gnueabihf X-BeenThere: ltsi-dev@lists.linuxfoundation.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: "A list to discuss patches, development, and other things related to the LTSI project" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: ltsi-dev-bounces@lists.linuxfoundation.org Errors-To: ltsi-dev-bounces@lists.linuxfoundation.org X-Virus-Scanned: ClamAV using ClamSMTP AR is used by the build for Benchmark.lmbench3 If it's missing, then the build fails. The error is reported as 'cr: Command not found', but it stems from a missing value for $AR in the lmbench/src/Makefile. --- Note that I'm using the platform 'qemu-armv7hf' when this error occurs (so, the AR definition is missing from the integrated ARM toolchain variables). userdata/conf/tools.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/userdata/conf/tools.sh b/userdata/conf/tools.sh index b56f42e..14101b2 100755 --- a/userdata/conf/tools.sh +++ b/userdata/conf/tools.sh @@ -54,6 +54,7 @@ then export CONFIGURE_FLAGS="--target=arm-linux-gnueabihf --host=arm-linux-gnueabihf --build=x86_64-linux" export AS=arm-linux-gnueabihf-as export LD=arm-linux-gnueabihf-ld + export AR=arm-linux-gnueabihf-ar export ARCH=arm export CROSS_COMPILE=arm-linux-gnueabihf- export PREFIX=arm-linux-gnueabihf