From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?q?Alex=20Benn=C3=A9e?= Subject: [kvm-unit-tests PATCH v5 03/11] configure: emit HOST=$host to config.mak Date: Fri, 31 Jul 2015 16:53:53 +0100 Message-ID: <1438358041-18021-4-git-send-email-alex.bennee@linaro.org> References: <1438358041-18021-1-git-send-email-alex.bennee@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: qemu-devel@nongnu.org, peter.maydell@linaro.org, a.spyridakis@virtualopensystems.com, drjones@redhat.com, a.rigo@virtualopensystems.com, claudio.fontana@huawei.com, kvm@vger.kernel.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= To: mttcg@listserver.greensocs.com, mark.burton@greensocs.com, fred.konrad@greensocs.com Return-path: Received: from mail-wi0-f182.google.com ([209.85.212.182]:32798 "EHLO mail-wi0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752860AbbGaPy2 (ORCPT ); Fri, 31 Jul 2015 11:54:28 -0400 Received: by wicmv11 with SMTP id mv11so63396288wic.0 for ; Fri, 31 Jul 2015 08:54:27 -0700 (PDT) In-Reply-To: <1438358041-18021-1-git-send-email-alex.bennee@linaro.org> Sender: kvm-owner@vger.kernel.org List-ID: This is useful information for the run scripts to know, especially if they want to drop to using TCG. Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Andrew Jones --- v3 - add r-b tag --- configure | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure b/configure index b2ad32a..078b70c 100755 --- a/configure +++ b/configure @@ -7,6 +7,7 @@ ld=3Dld objcopy=3Dobjcopy ar=3Dar arch=3D`uname -m | sed -e s/i.86/i386/ | sed -e 's/arm.*/arm/'` +host=3D$arch cross_prefix=3D =20 usage() { @@ -122,6 +123,7 @@ ln -s $asm lib/asm cat < config.mak PREFIX=3D$prefix KERNELDIR=3D$(readlink -f $kerneldir) +HOST=3D$host ARCH=3D$arch ARCH_NAME=3D$arch_name PROCESSOR=3D$processor --=20 2.5.0