From patchwork Mon Dec 5 17:47:39 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 5485 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id E9B5723E03 for ; Mon, 5 Dec 2011 17:47:53 +0000 (UTC) Received: from mail-lpp01m010-f52.google.com (mail-lpp01m010-f52.google.com [209.85.215.52]) by fiordland.canonical.com (Postfix) with ESMTP id CEED7A18155 for ; Mon, 5 Dec 2011 17:47:53 +0000 (UTC) Received: by mail-lpp01m010-f52.google.com with SMTP id m6so427621lag.11 for ; Mon, 05 Dec 2011 09:47:53 -0800 (PST) Received: by 10.152.145.233 with SMTP id sx9mr6701690lab.6.1323107273740; Mon, 05 Dec 2011 09:47:53 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.152.41.198 with SMTP id h6cs271320lal; Mon, 5 Dec 2011 09:47:53 -0800 (PST) Received: by 10.68.31.233 with SMTP id d9mr25308977pbi.35.1323107268573; Mon, 05 Dec 2011 09:47:48 -0800 (PST) Received: from mnementh.archaic.org.uk (mnementh.archaic.org.uk. [81.2.115.146]) by mx.google.com with ESMTPS id l1si24217202pbi.205.2011.12.05.09.47.47 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 05 Dec 2011 09:47:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 81.2.115.146 as permitted sender) client-ip=81.2.115.146; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 81.2.115.146 as permitted sender) smtp.mail=pm215@archaic.org.uk Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.72) (envelope-from ) id 1RXcdj-0000Uj-7K; Mon, 05 Dec 2011 17:47:43 +0000 From: Peter Maydell To: android-virt@lists.cs.columbia.edu Cc: Marc Zyngier , Christoffer Dall , patches@linaro.org Subject: [PATCH 2/6] Makefile: export CROSS_COMPILE and ARCH Date: Mon, 5 Dec 2011 17:47:39 +0000 Message-Id: <1323107263-1870-3-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1323107263-1870-1-git-send-email-peter.maydell@linaro.org> References: <1323107263-1870-1-git-send-email-peter.maydell@linaro.org> CROSS_COMPILE and ARCH are needed by the kernel makefile, so export them so they are passed down even if we're using the defaults in this makefile rather than user specified (command line or environment) settings. Signed-off-by: Peter Maydell --- Makefile | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index 3d74ac0..67d840b 100644 --- a/Makefile +++ b/Makefile @@ -30,6 +30,9 @@ CROSS_COMPILE ?= arm-unknown-eabi- CC = $(CROSS_COMPILE)gcc LD = $(CROSS_COMPILE)ld +# These are needed by the underlying kernel make +export CROSS_COMPILE ARCH + all: $(IMAGE) clean: