From patchwork Thu Mar 21 00:28:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 1059659 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="qsqL+Asr"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44Pnhg4TGnz9sQx for ; Thu, 21 Mar 2019 11:28:51 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id AACAC22654; Thu, 21 Mar 2019 00:28:49 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VJ-ZBT1f6+m1; Thu, 21 Mar 2019 00:28:48 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 6131B231F2; Thu, 21 Mar 2019 00:28: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 F299F1BF97A for ; Thu, 21 Mar 2019 00:28:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id F017D86D92 for ; Thu, 21 Mar 2019 00:28: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 XsgLGMK9E9XI for ; Thu, 21 Mar 2019 00:28:46 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pg1-f196.google.com (mail-pg1-f196.google.com [209.85.215.196]) by hemlock.osuosl.org (Postfix) with ESMTPS id 4475386113 for ; Thu, 21 Mar 2019 00:28:46 +0000 (UTC) Received: by mail-pg1-f196.google.com with SMTP id a22so2960215pgg.13 for ; Wed, 20 Mar 2019 17:28:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=aNraMeuJQcop5eIINzKMCsTtmcBE7psNPJP22+5Ktxg=; b=qsqL+AsrXyr3Y5DcKg5j8e2qgmANFeT19GQlNWAUA11U3Wq6Txn5aqH35QIz62MH0d Tg0L1p102CzGD3fu+iRk6j4FpbZhuUPK5EimDGmmrrgvM5m5L1JjNwqcv31RtZ+F5BPi 592F10EegwX6MGJqd34E7e4uLLKcrqlBycYhyaPkNqKw7c8GRjIFGAO7+YKGB17sCL1n gBxSWHCxVe+sPxjS2Mr/iF8VnyxO/e4bkV8MRQu6FNsiTJHFXn/UjHkFtYthGKlQy5YW OpMfHbmg4l8gJrBnq6r9jWH1UdrWJbAOwPHNLrjnTlhP8InjBZg5/40ya7LCMNXldHFI 2LCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=aNraMeuJQcop5eIINzKMCsTtmcBE7psNPJP22+5Ktxg=; b=OzbdlMz0G+CrcVp5oxwiDLxa8HGrtPVMi4XCcItp8Mr5Soa6PfQ2Y7LpWsYVOIMmJ8 Il/COf/DUaVa4ABkFswi0bMnqEyMJki7n9g0P/MPwUpTHFSw2y0ei0BVDOIzxAiF/Kqg zktVaUXA43AnMp/vr3ya7N7SFKZOdeIl8HTq0e3hbY2RcrmdQsXjWj2zFvhoLV08DkWF FpAk3L0kRMzd6GZTpqqOwfpQ7JGaAjSaw/sqxei+i33RMWWI6kScfEfXTczn4+uRU0Do IH4vmJxJmfTFqppmQkp1l4EfZmAd+5o455mQ/ErrQCpzKI5bYixmMIyL6JA/1N315iNY e/YQ== X-Gm-Message-State: APjAAAUYxdf8sGI7gzi4G3GRrd0SMHlg72vxq1+uJun5b2f1eYF3vzaT hhclfSOzV4+Gozi8wl/7cTDgKN8O X-Google-Smtp-Source: APXvYqyOsYj6+oMdkVVgD9kIDzxbPOoEOvR/g4Z9fxG/KYSwx9rWZhyTiHDjXD8srHXQWDNUXO2p8A== X-Received: by 2002:a62:1193:: with SMTP id 19mr615565pfr.82.1553128125422; Wed, 20 Mar 2019 17:28:45 -0700 (PDT) Received: from voyager.jms.id.au ([36.255.48.244]) by smtp.gmail.com with ESMTPSA id c13sm5909358pfm.34.2019.03.20.17.28.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Mar 2019 17:28:44 -0700 (PDT) Received: by voyager.jms.id.au (sSMTP sendmail emulation); Thu, 21 Mar 2019 10:58:39 +1030 From: Joel Stanley To: buildroot@buildroot.org Date: Thu, 21 Mar 2019 10:58:27 +1030 Message-Id: <20190321002830.21863-2-joel@jms.id.au> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190321002830.21863-1-joel@jms.id.au> References: <20190321002830.21863-1-joel@jms.id.au> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 1/4] toolchain: Add necessary options to support 5.0 kernel headers 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: Thomas Petazzoni Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Joel Stanley --- v2: Select correct n-1 kernel Make this the first patch, as it introduces _AT_LEAST_5_0 toolchain/Config.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/toolchain/Config.in b/toolchain/Config.in index bcbc3cf98432..3f297f6b433b 100644 --- a/toolchain/Config.in +++ b/toolchain/Config.in @@ -397,10 +397,15 @@ config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20 bool select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19 +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20 + # This order guarantees that the highest version is set, as kconfig # stops affecting a value on the first matching default. config BR2_TOOLCHAIN_HEADERS_AT_LEAST string + default "5.0" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0 default "4.20" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20 default "4.19" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19 default "4.18" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_18