From patchwork Sat Jun 12 09:40:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Naour X-Patchwork-Id: 1491251 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=smtp3.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=aP892Zzf; dkim-atps=neutral Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4G2CPj4hX5z9sj5 for ; Sat, 12 Jun 2021 19:40:41 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 57F5560641; Sat, 12 Jun 2021 09:40:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rSVSKxnClI3I; Sat, 12 Jun 2021 09:40:38 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id B5E5160613; Sat, 12 Jun 2021 09:40:37 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id B7CE31BF47D for ; Sat, 12 Jun 2021 09:40:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id B20DB60633 for ; Sat, 12 Jun 2021 09:40:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Dg7KdmQqUxKZ for ; Sat, 12 Jun 2021 09:40:22 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by smtp3.osuosl.org (Postfix) with ESMTPS id 6EA6960603 for ; Sat, 12 Jun 2021 09:40:22 +0000 (UTC) Received: by mail-wr1-x430.google.com with SMTP id i94so8601689wri.4 for ; Sat, 12 Jun 2021 02:40:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=oloExz3/QKX/v4I9yWboXncX4wBeW2I0DeCdGD2wRIE=; b=aP892ZzfPDM3ct8+YGauPLIMWvD3SBJQu/CEur2JyCmktIh+t1gclVLHhXN85PzfkA Cosw6X0EZmYizD+hl0/2q5RkOe5C30QjJXOjjl9NxQoLpdNInWDl8ppEuZE+36A6Ducw g81Xb5zA90iTb6y8JtLycLaZCZmSzjhWntwUAO7T/4jAPgTWoznh0pC14v7lHuUeM5ri 2OMQuLseJrHw3NwK36AV+AKR7OZpH+VWNqM8mAWmrIRc89AA3xvGEL2AAYqpHwYyaU4r CB+EG+AKrz3jb2UScKmbjUuOlFF3ZoTw2y+CHRPYYX2gT5pvGAdkxyZ5kyzYBO1l3gG/ 3OPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=oloExz3/QKX/v4I9yWboXncX4wBeW2I0DeCdGD2wRIE=; b=noO4G2PTgFFoc/oUeadZIJOwFOv+OOG7J3sRbeBpIunexkYZu8hSlDk1q1j4ce1z2U xMUYDHPiQfdaKoGQpZ5l4rNKmWLPrYycxY2PkRz8V0vTNJyMku5b5aJ43CWG7TLHw0ca M5slO9JODyFg+vClmpz1uwqDyjLhCNWUgj6Q7UKFd9s1j0zeIiz1zlyHMrR0riUzJl16 PZtAsSCQRN6EZsgJJo2rf4Mm3jmo6JqE3JIDGvRuMn+mIhdx/YB9cl8xseVuF9Zgm0od dx7S3YuYS3jWWtddfoKkbaLccHa+XUus6s+ttZ1jcuXg8osP/t7HnXUsY3mNPFPsZCNj RO8g== X-Gm-Message-State: AOAM530ObOycNkNfAF0ZdiHokjWjenxvvnBCsnNzQUO6mZ7fvwK4ua73 nWQvocnZaPdk3ds1ltMeBx0sw+tEuXA= X-Google-Smtp-Source: ABdhPJw1QmXNhcQOYfmKkVsyvv/RqXMCozO5IJPv3ow4mME2WfWzEQTpHeMheoZo9CDTJnu+nScY9w== X-Received: by 2002:adf:f1ca:: with SMTP id z10mr8668192wro.396.1623490820559; Sat, 12 Jun 2021 02:40:20 -0700 (PDT) Received: from localhost.localdomain (2a01cb058f8a180022164e4eb697b4ce.ipv6.abo.wanadoo.fr. [2a01:cb05:8f8a:1800:2216:4e4e:b697:b4ce]) by smtp.gmail.com with ESMTPSA id m6sm11999077wrw.9.2021.06.12.02.40.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Jun 2021 02:40:20 -0700 (PDT) From: Romain Naour To: buildroot@buildroot.org Date: Sat, 12 Jun 2021 11:40:11 +0200 Message-Id: <20210612094015.6792-2-romain.naour@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210612094015.6792-1-romain.naour@gmail.com> References: <20210612094015.6792-1-romain.naour@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 2/6] toolchain/Config.in: add BR2_TOOLCHAIN_GCC_AT_LEAST_11 blind option X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Romain Naour Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" In order to add gcc 11 support for internal and external toolchain in follow-up commits, introduce BR2_TOOLCHAIN_GCC_AT_LEAST_11 symbol. Signed-off-by: Romain Naour --- toolchain/Config.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/toolchain/Config.in b/toolchain/Config.in index 0181ef07de..fe327b9f46 100644 --- a/toolchain/Config.in +++ b/toolchain/Config.in @@ -630,10 +630,15 @@ config BR2_TOOLCHAIN_GCC_AT_LEAST_10 bool select BR2_TOOLCHAIN_GCC_AT_LEAST_9 +config BR2_TOOLCHAIN_GCC_AT_LEAST_11 + bool + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + # This order guarantees that the highest version is set, as kconfig # stops affecting a value on the first matching default. config BR2_TOOLCHAIN_GCC_AT_LEAST string + default "11" if BR2_TOOLCHAIN_GCC_AT_LEAST_11 default "10" if BR2_TOOLCHAIN_GCC_AT_LEAST_10 default "9" if BR2_TOOLCHAIN_GCC_AT_LEAST_9 default "8" if BR2_TOOLCHAIN_GCC_AT_LEAST_8