From patchwork Tue Apr 25 03:22:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Programmingkid X-Patchwork-Id: 9697499 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 33CA360249 for ; Tue, 25 Apr 2017 03:23:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2F4DF2845E for ; Tue, 25 Apr 2017 03:23:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 242ED284EA; Tue, 25 Apr 2017 03:23:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C78ED2845E for ; Tue, 25 Apr 2017 03:23:31 +0000 (UTC) Received: from localhost ([::1]:46862 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d2r4d-0006T5-0v for patchwork-qemu-devel@patchwork.kernel.org; Mon, 24 Apr 2017 23:23:31 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33063) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d2r3p-0006RQ-Hv for qemu-devel@nongnu.org; Mon, 24 Apr 2017 23:22:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d2r3o-00068u-Rg for qemu-devel@nongnu.org; Mon, 24 Apr 2017 23:22:41 -0400 Received: from mail-io0-x244.google.com ([2607:f8b0:4001:c06::244]:36693) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d2r3o-00068Z-M3 for qemu-devel@nongnu.org; Mon, 24 Apr 2017 23:22:40 -0400 Received: by mail-io0-x244.google.com with SMTP id x86so52322258ioe.3 for ; Mon, 24 Apr 2017 20:22:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:message-id:cc:content-transfer-encoding:from:subject :date:to; bh=mW8cIM+x2nUTg+REeENqS9T2zorp2q5Agaaxz81yMAs=; b=nx2nJSIvl1/q6JeES4u5TeVxh2PLEXs7idSwevHxdlzNJJxl46o+D1B+9l2Jx2T+0j 1rgPA3ELN68/I87QNA8WefmK1aKEQnDMayxU3y6D4k4qk10BskjQFRxC3SIvWisPpOhl JCcCltxKcIspBCw2MtQfER5Jm5tWW9T1mYOFQnzcBPHaTpz6Oxg2OnesPY7omB5JVyyj XqSM4GgFMlsTDuoyswFOuKf8xHn/TBXXhvbAUM9nS5dCVY0YkC6GFnV66x1yhJeTs+5f +AEgE6kTROrtlVmTq82xsGOfKDIAgZLngOeLn4MBgSRdrihCbyHffuqaQrv0LvFp1arn avGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:message-id:cc :content-transfer-encoding:from:subject:date:to; bh=mW8cIM+x2nUTg+REeENqS9T2zorp2q5Agaaxz81yMAs=; b=hWtyEAnRqagoPqpRu3xsAOqwOnOSYYsK/He3v7TzA+pQ+ln2QTeW3xlhce1JcTFBn8 GbBTfhq/dH/Vlt3RYdR+yvoePoq+Ne4Z6t3Ep8yVG0a7+bnNpSbmsKEgMQOHJcZhK+J7 /K1Da9mTo2nh4+AJHufK68fdtjA7RoX9h+iMWqiDTH0z1bP/HT/rnphU2XjZKTpQNuIN uQCjbnBY/CUMmpZlCNYd0WJbaO35uuzyY5lSi6mB5LbfhsRvu58ZYNTBoEae1w/fSFlW jUuAYM8nNg4KMgV+H5Oc2JqamcBA1pWggVtAb3EgE5sHOjOEz1emJzjgmOEwYBIvPDeo YSrw== X-Gm-Message-State: AN3rC/6a1h4H6CwCtykferZfU8HQsK/+bzy4nSshb/wAZfVBtEjbH37x yy0Rhq9smEaY5w== X-Received: by 10.107.46.86 with SMTP id i83mr13276926ioo.84.1493090560075; Mon, 24 Apr 2017 20:22:40 -0700 (PDT) Received: from [192.168.0.4] (d199-74-164-53.col.wideopenwest.com. [74.199.53.164]) by smtp.gmail.com with ESMTPSA id p70sm1449239itg.0.2017.04.24.20.22.39 (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 24 Apr 2017 20:22:39 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v753.1) Message-Id: <91290AE4-BAAF-44B1-AB1F-D8567D46A0AB@gmail.com> From: G 3 Date: Mon, 24 Apr 2017 23:22:37 -0400 To: Peter Maydell X-Mailer: Apple Mail (2.753.1) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4001:c06::244 Subject: [Qemu-devel] [PATCH 6/9] Add ppc support to configure X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "qemu-devel@nongnu.org qemu-devel" Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Add ppc support to the configure script. Signed-off-by: John Arbuckle --- configure | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) CFLAGS C compiler flags diff --git a/configure b/configure index 055e6d6..7881b18 100755 --- a/configure +++ b/configure @@ -56,6 +56,8 @@ guess_arch() { else ARCH="ppc64le" fi + elif check_define __ppc__ ; then + ARCH="ppc" else echo "This cpu is not supported by risu. Try -h. " >&2 exit 1 @@ -92,7 +94,7 @@ Some influential environment variables: prefixed with the given string. ARCH force target architecture instead of trying to detect it. - Valid values=[arm|aarch64|ppc64|ppc64le|m68k] + Valid values=[arm|aarch64|ppc64|ppc64le|m68k|ppc] CC C compiler command