From patchwork Sat May 11 11:53:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 796238 Delivered-To: patch@linaro.org Received: by 2002:a5d:452e:0:b0:34e:ceec:bfcd with SMTP id j14csp1236550wra; Sat, 11 May 2024 04:57:48 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUYiguh0gCancN9k4IRHfsmkZJOHe0hkHWHcD7CySc7L+9geFKhvpPGmE/LWTIDdVDA5MEZhpgfRj3O4X/ZARAV X-Google-Smtp-Source: AGHT+IF7eLhGIXt5zUQMP6JytZni7c1JPKmRri7p6+Z8QzuLqHrCJAhZV75H9T9pbsnvaCqI1hbf X-Received: by 2002:a05:620a:c4e:b0:792:d2aa:5e6 with SMTP id af79cd13be357-792d2aa0723mr85845285a.35.1715428668355; Sat, 11 May 2024 04:57:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1715428668; cv=none; d=google.com; s=arc-20160816; b=TWuB8wFtqDK/IyFcWEh1ES7ahBRadxoGTZMWWz5Q+TtwHT5vuxrQQNIdH5+g4dEYqj JcyMBi62EDixiAp/34dbZcZUPyeiPh4GvJMGIy0zNPLW9VatyfGRcyDHPY5T6+XwifIH hOwBdr2tOEnzgQJ+Vs6m8aKWkC1nGv/KvNvBMRIwlaW7hMyHAhZPCUqzkMS8s8XegL6D x2zNkiXLauLHQKLKq7LoblX3WQ1j5oMsstnQpTFxJ1NZq2kOwypLMqrOPVbJeXXpcPIc /21GcA3SFMLt3HqrTP/36mjoI3YVtVMhrXOu0ZdKGMe6hOHqRooeCmonhH+U304dCL0y yMxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=LlF/qVnfBB0/mvdhSrl0HFniC4poDP63wiS0TvU6Y90=; fh=UQCixiNfr28ZOrfhmxiGPA65dFhly8CmRsnoYC6xI9k=; b=B740v6yRfYyZwwHXY0D6bJhyp4P69+u2kQtMd0jxHIHcCNPk0xHRH5ChhIwWpbLhBT XTcj/thODFBUi37PIeU/dRb5xdBcavImD/7StPYScKIv0SYSFtcMkzscZ0pRJg8/Jqzd zoj7KyYarFVTy8GwPrMHriZMAl22QBbI9HucBBrD2D40GgeP7gDOETdzyfqEEhf6Vs/+ ViWH8KqiLeg+XWSAJa/zdaaQ1UMnBCjKito5Bb1NZiI0AnTnH8CL+JyNJjdXlkaS7xrY gDxDwQ3eeI68Y+rFbSj5OAeZMSUJL4wiqdq7HhcP75iYfAJb3PCCz9OVxEHJFXnLvt5J 6HMg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fic8w32T; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-792bf38ec16si538483185a.731.2024.05.11.04.57.48 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 11 May 2024 04:57:48 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fic8w32T; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s5lJ0-0000Nb-UX; Sat, 11 May 2024 07:54:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s5lIz-0000Mu-6G for qemu-devel@nongnu.org; Sat, 11 May 2024 07:54:21 -0400 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s5lIx-00070i-NO for qemu-devel@nongnu.org; Sat, 11 May 2024 07:54:20 -0400 Received: by mail-wr1-x436.google.com with SMTP id ffacd0b85a97d-34d7d04808bso2029923f8f.0 for ; Sat, 11 May 2024 04:54:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1715428458; x=1716033258; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=LlF/qVnfBB0/mvdhSrl0HFniC4poDP63wiS0TvU6Y90=; b=fic8w32TpSa2js6kN7tOih53aYku+zDAQ/KMgdT0Ig5cHW76WyH7CeguWeAL1IIscU DBf4PjV1u9a6st8P6vBb2Dm4LXN4HD0TDYIhL4KfEzfkKNNnxesWyMe+FZd+hD96biu7 /lbwG8uUIaFKzJ0NtqryD2JITJvPu63No4NjuuFTnTuen1KyNI/Jtqln0XkCRMrgc7Ed QYwwnd94m9a8X4PcNJ0yWefndcAkyno4wPL4cywC/B9ZHkUASr28wsxhKLo/En0gyK35 Em46zaLV5Fw28yyNOyqs2w1ikpy9odHgact+ntoSCCAcxIMrCbG4ljMAY/+eg8dTdc0E 2hSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715428458; x=1716033258; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LlF/qVnfBB0/mvdhSrl0HFniC4poDP63wiS0TvU6Y90=; b=DJ/g44ZVlah59IeDmiYJmt1IdjiXoaMRWQOHUOAu9RH6nqH1m+pxFu9XvpmidP0ixc 7ibAhTLSGQeW03QuVJ3vpBOQJmxQU/FSrW+ucVpUsbxtA7V2VANPN7rCOpCOPsv3vHUE J3dZnezCB3y4fn4f8Y0rZEM4YVtxbd8EYrefj1FDjgJS2u2qNaasFZRfMf7yCsEnXKPf g7AELr1whxxyNfS488dZ3tZ9pYBO4y7HNqcHflsm36QsMzx+cWteRIliL+IPDZdIhM9e +jOqx9xJb0ylk8bw0FSp8l3R576OkRDVkK0TS9Qhz+f42PWh1TeILP0r4D9P7aaVvOjy 1/4g== X-Gm-Message-State: AOJu0YyidRH4tY17aRyJ7VrINWUXjgR3Jhzb55cDtZVTNKeY4a5RTNa8 h6wU/vZS2mpechi/pp1Ukk3pf7lxOlG3sIUr1ImKAnZgATO3sm1rsmb32pfaa/856fLEodfWD/z VelE= X-Received: by 2002:a5d:6650:0:b0:34d:7f17:1e22 with SMTP id ffacd0b85a97d-3504a61c818mr4198469f8f.14.1715428458340; Sat, 11 May 2024 04:54:18 -0700 (PDT) Received: from stoup.. ([195.76.196.165]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3502bbbbf20sm6764797f8f.93.2024.05.11.04.54.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 May 2024 04:54:18 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org Subject: [PATCH 16/17] configure: Enable loongarch64 Date: Sat, 11 May 2024 13:53:59 +0200 Message-Id: <20240511115400.7587-17-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240511115400.7587-1-richard.henderson@linaro.org> References: <20240511115400.7587-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=richard.henderson@linaro.org; helo=mail-wr1-x436.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Signed-off-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Philippe Mathieu-Daudé --- configure | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 2f7c580..39275a2 100755 --- a/configure +++ b/configure @@ -54,6 +54,8 @@ guess_arch() { ARCH="arm" elif check_define __i386__ || check_define __x86_64__ ; then ARCH="i386" + elif check_define __loongarch__ ; then + ARCH="loongarch64" elif check_define __m68k__ ; then ARCH="m68k" elif check_define __powerpc64__ ; then @@ -141,7 +143,7 @@ Some influential environment variables: prefixed with the given string. ARCH force target architecture instead of trying to detect it. - Valid values=[arm|aarch64|m68k|ppc64|ppc64le|s390x] + Valid values=[arm|aarch64|loongarch64|m68k|ppc64|ppc64le|s390x] CC C compiler command CFLAGS C compiler flags