From patchwork Tue Sep 3 19:12:22 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 19723 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f71.google.com (mail-qa0-f71.google.com [209.85.216.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id AE52924869 for ; Tue, 3 Sep 2013 19:12:39 +0000 (UTC) Received: by mail-qa0-f71.google.com with SMTP id hu16sf3755583qab.10 for ; Tue, 03 Sep 2013 12:12:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:x-gm-message-state:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=whFLH2H+Edv9r5kPRo3ecPy+AKWBwU+FnD4u5Qw9Gvg=; b=alipBGT7V9Ejn57aCCCq9kfSb+WWwhe4U9oIVWwkInXmOie4D+NUAcO3PTTBmsy07o kfEk10XpSW7cLWgB3b2SkTT3hK9Xo8MJ6XL/A61KIY8TsxtYn1lNV+ZAKaf0lcU6gY6f G0Qku23v8A0Q0SshVLpuR5iyt2bIh/ah598j2xub8miXSn+e5BqX2/Emj01QOT7/71ms 759GGd0zcZQJgFXWLFmBUKFB4kj+nRWt8onI4SC8QM6JM+O0cwzvEOleWqTMSgfdK7yR KPAkDG/1Xi7Wf0NXpxBZQE4XvaylTatgqjeUlKfEDYlV44gvR73xjIxl+OPNS3M0gp5s mj1g== X-Received: by 10.236.110.168 with SMTP id u28mr10778390yhg.40.1378235559563; Tue, 03 Sep 2013 12:12:39 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.39.104 with SMTP id o8ls761537qek.38.gmail; Tue, 03 Sep 2013 12:12:39 -0700 (PDT) X-Received: by 10.220.1.203 with SMTP id 11mr24311309vcg.15.1378235559443; Tue, 03 Sep 2013 12:12:39 -0700 (PDT) Received: from mail-ve0-f179.google.com (mail-ve0-f179.google.com [209.85.128.179]) by mx.google.com with ESMTPS id ur9si197936veb.117.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 03 Sep 2013 12:12:39 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.179 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.179; Received: by mail-ve0-f179.google.com with SMTP id c13so4491427vea.10 for ; Tue, 03 Sep 2013 12:12:39 -0700 (PDT) X-Gm-Message-State: ALoCoQlfjfsShQFPWuUFWaytvazZEyEArRxxwtRoI7cgU2Czb9C5yIsYLG+fUju60oJokvzGUSUb X-Received: by 10.58.215.15 with SMTP id oe15mr3381640vec.25.1378235559358; Tue, 03 Sep 2013 12:12:39 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp190471vcz; Tue, 3 Sep 2013 12:12:38 -0700 (PDT) X-Received: by 10.180.198.79 with SMTP id ja15mr19335869wic.36.1378235545873; Tue, 03 Sep 2013 12:12:25 -0700 (PDT) Received: from chiark.greenend.org.uk (v6.chiark.greenend.org.uk. [2001:ba8:1e3::]) by mx.google.com with ESMTPS id fr4si7823194wic.30.1969.12.31.16.00.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 03 Sep 2013 12:12:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of pmaydell@chiark.greenend.org.uk designates 2001:ba8:1e3:: as permitted sender) client-ip=2001:ba8:1e3::; Received: by chiark.greenend.org.uk (Debian Exim 4.72 #1) with local (return-path pmaydell@chiark.greenend.org.uk) id 1VGw1Y-0005ok-SX; Tue, 03 Sep 2013 20:12:24 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Cc: patches@linaro.org, Andreas Schwab , Alexander Graf , "Mian M. Hamayun" , kvmarm@lists.cs.columbia.edu, =?UTF-8?q?Andreas=20F=C3=A4rber?= Subject: [PATCH v6 22/24] configure: Add handling code for AArch64 targets Date: Tue, 3 Sep 2013 20:12:22 +0100 Message-Id: <1378235544-22290-23-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1378235544-22290-1-git-send-email-peter.maydell@linaro.org> References: <1378235544-22290-1-git-send-email-peter.maydell@linaro.org> Sender: Peter Maydell X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: peter.maydell@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.179 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Alexander Graf Add the necessary code to configure to handle AArch64 as a target CPU (we already have some code for supporting it as host). Note that this doesn't enable the AArch64 targets yet. Signed-off-by: Alexander Graf Signed-off-by: John Rigby Message-id: 1368505980-17151-12-git-send-email-john.rigby@linaro.org [PMM: * don't need to set TARGET_ABI_DIR to aarch64 as that is the default * don't build nwfpe -- this is 32 bit legacy only * rewrite commit message * add aarch64 to the list of "fdt required" targets ] Signed-off-by: Peter Maydell --- configure | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/configure b/configure index af6b048..e20869b 100755 --- a/configure +++ b/configure @@ -2523,7 +2523,7 @@ fi fdt_required=no for target in $target_list; do case $target in - arm*-softmmu|ppc*-softmmu|microblaze*-softmmu) + aarch64*-softmmu|arm*-softmmu|ppc*-softmmu|microblaze*-softmmu) fdt_required=yes ;; esac @@ -4273,6 +4273,11 @@ case "$target_name" in bflt="yes" gdb_xml_files="arm-core.xml arm-vfp.xml arm-vfp3.xml arm-neon.xml" ;; + aarch64) + TARGET_BASE_ARCH=arm + bflt="yes" + gdb_xml_files="aarch64-core.xml" + ;; cris) ;; lm32)