From nobody Tue Feb 10 06:26:47 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1665676316; cv=none; d=zohomail.com; s=zohoarc; b=ENDJnJRXTesLBlt/v4/pTaR0TWpdHcopurQnhkiVPiy7vVFmHP1ew0UGHit0fziosR5vY6invLYSwrY7w7Jg5iQ4p8pF7J6xlAwuP0S4pbIXS1V9ePaEhv7orKEzwWvz6K7RTvs7NjDF6tND9yxbRvsA5A0MHBwiB+vLq8KXagE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1665676316; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=l7SmkBkb58R6n4ne7NU6GDv/kWwWZJH06GSqHAlR/+Y=; b=bisHJiahsq6u8KLpaZfeZ/FAo/37PSW0OrZgD2XULNUuQPTuVtKhbzAa3VLE5B60Y9ZWEk1P0l1uODFOqD87p5fMzFs5NftCsci5iIY/78l7siYpQzQSSJO4dwpQPsNej2plzW0vh4Cf9g24CD9IwQ7aD21wo9Q8Lt7O55794bw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1665676316294306.34134112264223; Thu, 13 Oct 2022 08:51:56 -0700 (PDT) Received: from localhost ([::1]:55520 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oj0Uz-0000df-Le for importer@patchew.org; Thu, 13 Oct 2022 11:51:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40598) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oj0QR-00062g-MT for qemu-devel@nongnu.org; Thu, 13 Oct 2022 11:47:11 -0400 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]:41938) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oj0QQ-0006nj-2C for qemu-devel@nongnu.org; Thu, 13 Oct 2022 11:47:11 -0400 Received: by mail-wr1-x42a.google.com with SMTP id bu30so3470592wrb.8 for ; Thu, 13 Oct 2022 08:47:09 -0700 (PDT) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id k8-20020a056000004800b002238ea5750csm2624083wrx.72.2022.10.13.08.47.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Oct 2022 08:47:07 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 368A31FFBC; Thu, 13 Oct 2022 16:47:06 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=l7SmkBkb58R6n4ne7NU6GDv/kWwWZJH06GSqHAlR/+Y=; b=pFUKknOhTEX1KtVpnhNN229iO6BAyhWJzWZRRx334EPlQaedM3YTfI6jpYacdGsbwF hHAJ6tXTh4w6UloVYJW05rYNTpwXfXWEtB1weJfQpIcSbgRpH/9q9tYyX4Fpvg/JTwhc Ey63zNgUlLlnpKPjJBdDU2cBP+9yWH7n6o/hh8Laaaftounh35q+FAFkGv0HlSmm6gDs 0FpgrVrAaW3K3XEXSdbX8HJiDsTvstz874/oFrrzvxWL0BkHVUBZ2gJqlLHVaSlIqodZ C2fLG+XwJN4xsokn47WpKWic+Q5PUC58hSloYIreMEnQI9osIdpdRlVrse0FsZluPZCn cBpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=l7SmkBkb58R6n4ne7NU6GDv/kWwWZJH06GSqHAlR/+Y=; b=nPDC6Nbehq16r9zsWHcxpwW2jFh4b/7UEgdVdAEluiTBucv0ig3bkYpxjkA6PGg2hf ndQswN2Mgt4PiHusSW02wNoO3cTVgBUerlznrYwLnwg1FCzKIveibV7bzT1CSZ29iMaL NYoca4JuVVntVRvwdsTa5CrXJqz8jf95veiOZ6C5s/C/Ev9aUk/kL0dNM/Q/Vhu8Lpk+ N3IeWtuv3rHa2oThYePVWgAoxFmNnHPAOSC6JVqqsA5plUzWCg+BsFolVYXX7vHsTbAX WWmsNrA0KSoHJrNJr/nxWNQtayfcJoP+9g/TZJEcPzHTurY9+D5uI5SjrFTKNDIXv8Re 7b5Q== X-Gm-Message-State: ACrzQf2z98USjCpCvbGYSbSkqa9oRFuvgPmEQ8t/ZIQpvccDabpJ/Bmw m24kQaMnLxT0h6FmBIbZUC3UaA== X-Google-Smtp-Source: AMsMyM7nL2fFmXMf5oGRMisHldfc0cDiGQSgdVh9j7msUpZ7KOKSGtjm55rE7yp3viwCZ7DllbCUmQ== X-Received: by 2002:adf:dd0c:0:b0:22e:4bf6:6c08 with SMTP id a12-20020adfdd0c000000b0022e4bf66c08mr405684wrm.617.1665676028184; Thu, 13 Oct 2022 08:47:08 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: fam@euphon.net, berrange@redhat.com, f4bug@amsat.org, aurelien@aurel32.net, pbonzini@redhat.com, stefanha@redhat.com, crosa@redhat.com, =?UTF-8?q?Alex=20Benn=C3=A9e?= Subject: [PATCH v2 4/7] configure: don't enable cross compilers unless in target_list Date: Thu, 13 Oct 2022 16:47:02 +0100 Message-Id: <20221013154705.1846261-5-alex.bennee@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221013154705.1846261-1-alex.bennee@linaro.org> References: <20221013154705.1846261-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::42a; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42a.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+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1665676318640100005 This avoids the unfortunate effect of always builds the pc-bios blobs for targets the user isn't interested in. Suggested-by: Paolo Bonzini Signed-off-by: Alex Benn=C3=A9e --- configure | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure b/configure index 45ee6f4eb3..246651f25d 100755 --- a/configure +++ b/configure @@ -1866,6 +1866,11 @@ probe_target_compiler() { container_cross_ranlib=3D container_cross_strip=3D =20 + case " $target_list " in + " $1 ") ;; + *) return 1 ;; + esac + target_arch=3D${1%%-*} case $target_arch in aarch64) container_hosts=3D"x86_64 aarch64" ;; --=20 2.34.1