From patchwork Sat Jun 12 09:40:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Naour X-Patchwork-Id: 1491253 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=2605:bc80:3010::138; helo=smtp1.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=hDsaE5e/; dkim-atps=neutral Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) (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 4G2CQG6SBmz9sj5 for ; Sat, 12 Jun 2021 19:41:10 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 4E5D183D76; Sat, 12 Jun 2021 09:41:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9qOyM3qaoWzk; Sat, 12 Jun 2021 09:41:04 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id 4C54483D61; Sat, 12 Jun 2021 09:41:03 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 657AD1BF94B for ; Sat, 12 Jun 2021 09:40:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 61512404DE for ; Sat, 12 Jun 2021 09:40:25 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp4.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tc_wr0p3kO0J for ; Sat, 12 Jun 2021 09:40:24 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by smtp4.osuosl.org (Postfix) with ESMTPS id 95AA64049E for ; Sat, 12 Jun 2021 09:40:24 +0000 (UTC) Received: by mail-wr1-x42a.google.com with SMTP id y7so8581289wrh.7 for ; Sat, 12 Jun 2021 02:40:24 -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=Fq8YL5Tq0yvzSqFjHsyi2ZMdG3gF9Fet58vHvoOYRdo=; b=hDsaE5e/5LohwOLKEdUeR9ESzW7y4uDgfa+SRkVZ5v/PDcw8RSfF6k98xnlwnyPLDG i/mZ8kuLPsbIDZY6JvF/tra7zmJmQVCqJMkfl7KWzpLPsB/b2W7Bn7M9x4ryvJvzxWGM dWO3XTpBlTJSLy5Lr0mSsSYt7lYY9cWGntzYRBMUSkR8p4g3PIAQh8MI0tdbpMGCOGRZ H+ELGZBzqWSFYrdZenMPbT4D/XW2zM09sXM7Bk1M/HD87F6evnLZ0YfMpkDwoU8WCmoM KadWH45iV+pNtf/JFSYWaodswwR5djjPlUfXL+f5XqK07VHO61p9QCIEMZZWtJH7ToZB HNng== 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=Fq8YL5Tq0yvzSqFjHsyi2ZMdG3gF9Fet58vHvoOYRdo=; b=SYWDeKBH2cyoVDPcDVn7rLzJICj/Jj3MX/Xraly33XW8mhwfMD2+Fp2oLuJZ261aVY kJPnhxESRMtJh7/x12QKg5w+IR0M9ve1TBU59eYx+vMOIadvvxvLLiMZ4aPBMyZBU7K6 N7YI31BaSjXpMl4X7TUStick1RXNa1PAB9EKnAGVbAn4WJP4DgBFnwIIh6G2dNXxHwow yHyroxpE+Or7SE8wx4bG0XWc3QZ2/mCgz4FZ9+3igTwNC6Xlsj7lnxATWPTbFvYVGk/w I6e2amo50ul5No8QwmTNjH1zJBQIiKhHJVVM41DRoYRFwRp80x1dGkdsdo7rHn3v1ovr TmIQ== X-Gm-Message-State: AOAM530THJ1stcj3TiooBTTPd1fG4WTcdw6B0RkoSkWNdVzBRv0pzZd3 s/oAzhDGIMo+oHasIQv6BVrjKCFTfuA= X-Google-Smtp-Source: ABdhPJx2YJqx884V7UAYICBDHpYhbzTkf0YlLipUI5kkfv7sFcl8KEw9TAipxbllS6Jyag5I/XqMLQ== X-Received: by 2002:a5d:694b:: with SMTP id r11mr8502900wrw.168.1623490822764; Sat, 12 Jun 2021 02:40:22 -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.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Jun 2021 02:40:22 -0700 (PDT) From: Romain Naour To: buildroot@buildroot.org Date: Sat, 12 Jun 2021 11:40:14 +0200 Message-Id: <20210612094015.6792-5-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 5/6] toolchain/toolchain-external/toolchain-external-custom: add gcc 11 version selection 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" This patch allows to use an external toolchain based on gcc 11. Signed-off-by: Romain Naour --- .../toolchain-external-custom/Config.in.options | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/toolchain/toolchain-external/toolchain-external-custom/Config.in.options b/toolchain/toolchain-external/toolchain-external-custom/Config.in.options index ba9aeb29ad..4a3345e4a5 100644 --- a/toolchain/toolchain-external/toolchain-external-custom/Config.in.options +++ b/toolchain/toolchain-external/toolchain-external-custom/Config.in.options @@ -31,6 +31,10 @@ choice Set to the gcc version that is used by your external toolchain. +config BR2_TOOLCHAIN_EXTERNAL_GCC_11 + bool "11.x" + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + config BR2_TOOLCHAIN_EXTERNAL_GCC_10 bool "10.x" select BR2_TOOLCHAIN_GCC_AT_LEAST_10