Message ID | 20230316090529.199884-16-andrea.righi@canonical.com |
---|---|
State | New |
Headers | show
Return-Path: <kernel-team-bounces@lists.ubuntu.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=<UNKNOWN>) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=vo0sh4M8; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PchFy63Ltz1yWs for <incoming@patchwork.ozlabs.org>; Thu, 16 Mar 2023 20:06:30 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from <kernel-team-bounces@lists.ubuntu.com>) id 1pcjYw-0002UC-Ai; Thu, 16 Mar 2023 09:06:18 +0000 Received: from smtp-relay-internal-1.internal ([10.131.114.114] helo=smtp-relay-internal-1.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from <andrea.righi@canonical.com>) id 1pcjYV-0001j6-Gy for kernel-team@lists.ubuntu.com; Thu, 16 Mar 2023 09:05:51 +0000 Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 1F6DB41BAB for <kernel-team@lists.ubuntu.com>; Thu, 16 Mar 2023 09:05:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1678957547; bh=hyZmWBRMzGOsnsYbkrGW4+pHf4AwNtMPXYTrMPcLB2A=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=vo0sh4M83LrZqO7uB4xiM1YZcR2D88hov7w8pD1eDifyxxUX3MMkU33ljWaaVkDqa E79kxSkMtr6rJNd0W5HjenvtCSHOGUjnLIFpvbDBuiDwSCe5zO0dgYgV4REAp5dRxa YXQfFKLPUoY/z3E7loikh+6QWcE0Q13vKxQgNxDEEK4VVqb2poKkiElZAkKFBrfd4c dg/d/Hrnw8K5apI39nxeF6rgqEyveDLcP0l5v6DEc3Iqs8sC9yHLg1MxJnhF+Humcj EHXmRHjGS0LpiXPcljfI1VlKADiub03ais00txwPwhsp1ZOt8goqeLhVn7qLj2DzCH 1OTHZ4G9GTkSw== Received: by mail-ed1-f71.google.com with SMTP id c1-20020a0564021f8100b004acbe232c03so2046331edc.9 for <kernel-team@lists.ubuntu.com>; Thu, 16 Mar 2023 02:05:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678957547; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hyZmWBRMzGOsnsYbkrGW4+pHf4AwNtMPXYTrMPcLB2A=; b=0m/rjZcHTvLTPOgs6pehq8VsT6Wis3Vv5GBxZM4NM77WVHQZb7xoAkYvCNkpRXyfcl PGSEMfsXbPet25iIIc7azDUdbR5mWz/hZzjZZxL5TgZ0+2vleF4UaO/dm5sGL+t5+To0 7vBeeDmVycXTnUDnY4B0tANAPe2QWzPkACy58gA9xlQGufFoapWiaPFccmnUSQ9fe2ct 8rnODxoPEJtr0pP3YD/CWEn+2OtHjK5FdrPGrzRWYeNsrRGJKLt5Xbsq3JOfswO4tGsN cTFauXz+hqNYmWnSLpgQ2p3D01z3z+6FlLvG6c1oWj7U/RkmSJ121jnd0caXZPw8QfHU 1xxA== X-Gm-Message-State: AO0yUKUln3pxFwlJ427rfhLybZ2wW9/f+ZHYrkNm9N2I7Zky3XiMqFS+ HjVjrY6Fw19VLYMplLtEOvj63dilchxWPndB+/yIBPqTOg6Dl/MYlvscbQfL9kTz+MOWRl+3Pow uzSWCa5E54tUXxBz0GZQjxQ3FdvWjqM43o7kCuqZ4W6e3PjO6D/Tm X-Received: by 2002:a05:6402:100f:b0:500:2c4f:f17f with SMTP id c15-20020a056402100f00b005002c4ff17fmr4803311edu.20.1678957546922; Thu, 16 Mar 2023 02:05:46 -0700 (PDT) X-Google-Smtp-Source: AK7set9E/vBLy9e1z8DBvYE5kRtM8RyeTfVSoaOv5LLORs5J/wB9tP+EG2InSKfVKZ3tMk5FYtXpcg== X-Received: by 2002:a05:6402:100f:b0:500:2c4f:f17f with SMTP id c15-20020a056402100f00b005002c4ff17fmr4803296edu.20.1678957546764; Thu, 16 Mar 2023 02:05:46 -0700 (PDT) Received: from localhost.localdomain (host-79-53-23-214.retail.telecomitalia.it. [79.53.23.214]) by smtp.gmail.com with ESMTPSA id u11-20020a1709060b0b00b008e22978b98bsm3575977ejg.61.2023.03.16.02.05.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Mar 2023 02:05:46 -0700 (PDT) From: Andrea Righi <andrea.righi@canonical.com> To: kernel-team@lists.ubuntu.com Subject: [PATCH 15/16] UBUNTU: SAUCE: enforce rust availability only on x86_64 Date: Thu, 16 Mar 2023 10:05:28 +0100 Message-Id: <20230316090529.199884-16-andrea.righi@canonical.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230316090529.199884-1-andrea.righi@canonical.com> References: <20230316090529.199884-1-andrea.righi@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions <kernel-team.lists.ubuntu.com> List-Unsubscribe: <https://lists.ubuntu.com/mailman/options/kernel-team>, <mailto:kernel-team-request@lists.ubuntu.com?subject=unsubscribe> List-Archive: <https://lists.ubuntu.com/archives/kernel-team> List-Post: <mailto:kernel-team@lists.ubuntu.com> List-Help: <mailto:kernel-team-request@lists.ubuntu.com?subject=help> List-Subscribe: <https://lists.ubuntu.com/mailman/listinfo/kernel-team>, <mailto:kernel-team-request@lists.ubuntu.com?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" <kernel-team-bounces@lists.ubuntu.com> |
Series |
[01/16] UBUNTU: [Packaging] propagate makefile variables to kernelconfig
|
expand
|
diff --git a/init/Kconfig b/init/Kconfig index 4a1d2bfdcaad..7c0d75c7284e 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -62,6 +62,7 @@ config LLD_VERSION config RUST_IS_AVAILABLE def_bool $(success,$(srctree)/scripts/rust_is_available.sh) + depends on X86_64 help This shows whether a suitable Rust toolchain is available (found).
When cross-compiling for architectures different than x86_64 we may incorrectly think that rust is available by checking the host rust toolchain. Make sure to enforce CONFIG_RUST_IS_AVAILABLE to be off on architectures different than x86_64. Signed-off-by: Andrea Righi <andrea.righi@canonical.com> --- init/Kconfig | 1 + 1 file changed, 1 insertion(+)