From patchwork Sat Mar 19 20:25:35 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 599795 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 3qSDB76LjVz9s6n for ; Sun, 20 Mar 2016 07:25:51 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 09C038AFD6; Sat, 19 Mar 2016 20:25:51 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ezSTLLzGticF; Sat, 19 Mar 2016 20:25:48 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 24F1489ED3; Sat, 19 Mar 2016 20:25:48 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 48A731C16EA for ; Sat, 19 Mar 2016 20:25:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 440A795501 for ; Sat, 19 Mar 2016 20:25:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UbHxmPd089rZ for ; Sat, 19 Mar 2016 20:25:45 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout07.t-online.de (mailout07.t-online.de [194.25.134.83]) by hemlock.osuosl.org (Postfix) with ESMTPS id 33EF0954D8 for ; Sat, 19 Mar 2016 20:25:45 +0000 (UTC) Received: from fwd02.aul.t-online.de (fwd02.aul.t-online.de [172.20.26.148]) by mailout07.t-online.de (Postfix) with SMTP id 3FE0C533738 for ; Sat, 19 Mar 2016 21:25:43 +0100 (CET) Received: from fli4l.lan.fli4l (Tt3fAGZrZhFsiFHkvZO8PwW+JduviLAgARLa4BRsIjvjD2GCnx9lr7rljyZeRWsQQ8@[84.178.236.155]) by fwd02.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1ahNRL-2KkK8m0; Sat, 19 Mar 2016 21:25:39 +0100 Received: from mahler.lan.fli4l ([192.168.1.1]:35766 helo=kuhls.lan.fli4l) by fli4l.lan.fli4l with esmtp (Exim 4.87) (envelope-from ) id 1ahNRJ-0008CX-Rx; Sat, 19 Mar 2016 21:25:38 +0100 From: Bernd Kuhls To: buildroot@buildroot.org Date: Sat, 19 Mar 2016 21:25:35 +0100 Message-Id: <1458419136-9094-2-git-send-email-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1458419136-9094-1-git-send-email-bernd.kuhls@t-online.de> References: <1458419136-9094-1-git-send-email-bernd.kuhls@t-online.de> X-ID: Tt3fAGZrZhFsiFHkvZO8PwW+JduviLAgARLa4BRsIjvjD2GCnx9lr7rljyZeRWsQQ8 X-TOI-MSGID: aa0bf23d-75be-4ce8-8454-1480ff2b6385 Cc: Bernd Kuhls Subject: [Buildroot] [PATCH 2/3] Config.in: add symbols for BR2_HOST_GCC_AT_LEAST_4_6 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This option is needed to fix the Kodi build with older host gcc versions. Signed-off-by: Bernd Kuhls --- Config.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Config.in b/Config.in index dfb5721..b5cc892 100644 --- a/Config.in +++ b/Config.in @@ -23,9 +23,14 @@ config BR2_HOST_GCC_VERSION string option env="HOST_GCC_VERSION" +config BR2_HOST_GCC_AT_LEAST_4_6 + bool + default y if BR2_HOST_GCC_VERSION = "4 6" + config BR2_HOST_GCC_AT_LEAST_4_7 bool default y if BR2_HOST_GCC_VERSION = "4 7" + select BR2_HOST_GCC_AT_LEAST_4_6 config BR2_HOST_GCC_AT_LEAST_4_8 bool