From patchwork Fri Jan 29 10:59:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 373295 Delivered-To: patch@linaro.org Received: by 2002:a02:a60d:0:0:0:0:0 with SMTP id c13csp2091662jam; Fri, 29 Jan 2021 03:05:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJxZ6FRpyxGs8qUvRkYVlm2REaQ5FfC9ahc3jVDJIjhWr6xv0g7K5WsJChfM16zXtHRyUyDd X-Received: by 2002:a25:768e:: with SMTP id r136mr5469288ybc.92.1611918353930; Fri, 29 Jan 2021 03:05:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611918353; cv=none; d=google.com; s=arc-20160816; b=CskV8FrgFrkrwwSQJNyFDITg9ShyhVyGE7qSibwHM/+79Sjtt62PVIRCMlIGhRiQNR Y4kk3JiZJVNcTs3RIuuhdmqz3vZJkBNsemxmuYWbUPr+TW6FYxiWkCygxquntvxESgLG tLG9a3Kt/HH3TF4D/UHpNonNSIvSxCuCun6y4Bq7h+a7kEurJCPRaUxCg7lvtXksQ/Hp FnjU69TWADq8psxLks+9dnhQh7GvDJ5acGjrgBMweX/jbiqPzGIfN4fjqmJONJMa/9sp cedvR+ewx5NIEHHWSCKsRh09OAP0OOWY5EdmObQ6VNp6WZ3Ywqb8HTMwfZvcnN1sHZS8 Yerw== 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:to:from :dkim-signature; bh=H8+6iM9UPg6CtT6aaD4pRiWzKNKK/cDriKvv+fclduU=; b=lpNed6jdB2djKlB6PrVQtNGXRuGELFWE2YF5MLI2nvDaMN7zTkeVlxbboJNXM3HUaD zf0AoKtQQEi3y5XkjA5R5OVTz4wX6Jwcd2NazyrplK8FRUIUcwMRR70NPLWd5PJlPi2u pYDax32zgBKNkT+QYWWn1dIqqJsnxlq9LAP9xmthDO6m83gInHUNcHSA1XdTCycHWEDy UFWKjlcgV0FmU1moxJ6bFIIUWunO0r5cSIoHPNQRlNIDORkCMyfkzK0X7CR1mpQ1cmJK nwQJuhWhp/5vijRIU316iwq0lFkgfAfJFwppeYPSN8mCvCZkiBVetbLndFP15/z/16SK CD7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ooVFQI5o; 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 r5si8170787ybb.128.2021.01.29.03.05.53 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 29 Jan 2021 03:05:53 -0800 (PST) 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=ooVFQI5o; 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]:47642 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l5Rb7-000377-EB for patch@linaro.org; Fri, 29 Jan 2021 06:05:53 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59762) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l5RW8-0004Yi-7Q for qemu-devel@nongnu.org; Fri, 29 Jan 2021 06:00:44 -0500 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:37921) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l5RVv-0006zP-IK for qemu-devel@nongnu.org; Fri, 29 Jan 2021 06:00:43 -0500 Received: by mail-wr1-x431.google.com with SMTP id s7so5397577wru.5 for ; Fri, 29 Jan 2021 03:00:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=H8+6iM9UPg6CtT6aaD4pRiWzKNKK/cDriKvv+fclduU=; b=ooVFQI5onsv5dXiHEq4isV1+BXuPWHHtmxkMJ3ydJn9KU85GwEwXfNVFQYnj7OVl0B bzTZynwPZAzXON/U13Ssf/z1NmEH+RYBgVKdzzzcCYL+wM6JntOMWruCKgreNph6Ts4q ZpOMdmligNvsWm6Cv1ORTFl/wEYAZ3RvQ6eqix4hUgr3tEVP2pOyRXC70YZQy439QpCq qSLEJLgiNX3PmlDxg0lDKeIaiPCCQXpzeyhLImdTiRl9Y7vEX2f3aj0RBa4og+tRAmWA DTX/oHaAxA9UKcksvF9zbH2/axsyOLli0Y+mgxXLWEu6qZ/6tudZnAWQGqgbgx8D1qXN 2zxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=H8+6iM9UPg6CtT6aaD4pRiWzKNKK/cDriKvv+fclduU=; b=UbsbRgU6hQRVDaB3B9WN509XonG4vx0C8KIhg54Js8F0YAt3ziBFEI6HhZB9UcjSeX BsrgaeD+NcwKS/o93mQVAOFvWUWpU71zvQMbe5YK/5f5a2Y8FPEoW6UdyQnbf4sOocZp AxN0DxGus1SyLp3R/SeHP/S6DqWsLyuqxIPIOXSa1WEkgDy5Zd6UQSOm9q33iZs2m+R+ vW7ursWQdHktUMF/HwO0AiLDj1UkU8mzvFQ2TmFNDYurHLNLB/cKqbcawlf5Ydc3rSe7 s2mGn1SOS/WYaVEKx18T7LigepUkt5Vb0UBL21arUm8XDClvJC+MWIxqs2bEIC847xzT 5yuw== X-Gm-Message-State: AOAM530GWGHeved6oMRG8gMdtKS0XsQuk7SGaaXzWXFf2fpyQgEvXNy7 jo+Sx0dlCBuXAa4F+oUePyubVKNRAD7jAw== X-Received: by 2002:adf:e80f:: with SMTP id o15mr3873493wrm.366.1611918027679; Fri, 29 Jan 2021 03:00:27 -0800 (PST) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [81.2.115.148]) by smtp.gmail.com with ESMTPSA id w20sm9268761wmm.12.2021.01.29.03.00.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Jan 2021 03:00:27 -0800 (PST) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 14/46] configure: cross compile should use x86_64 cpu_family Date: Fri, 29 Jan 2021 10:59:40 +0000 Message-Id: <20210129110012.8660-15-peter.maydell@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210129110012.8660-1-peter.maydell@linaro.org> References: <20210129110012.8660-1-peter.maydell@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=peter.maydell@linaro.org; helo=mail-wr1-x431.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.23 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" From: Joelle van Dyne Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Joelle van Dyne Message-id: 20210126012457.39046-9-j@getutm.app Signed-off-by: Peter Maydell --- configure | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) -- 2.20.1 diff --git a/configure b/configure index e520a434065..5cf075ac60e 100755 --- a/configure +++ b/configure @@ -6305,9 +6305,12 @@ if test "$cross_compile" = "yes"; then echo "system = 'darwin'" >> $cross fi case "$ARCH" in - i386|x86_64) + i386) echo "cpu_family = 'x86'" >> $cross ;; + x86_64) + echo "cpu_family = 'x86_64'" >> $cross + ;; ppc64le) echo "cpu_family = 'ppc64'" >> $cross ;;