From patchwork Thu Apr 6 16:58:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 747901 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3vzTSG1QNcz9s8T for ; Fri, 7 Apr 2017 02:58:38 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="er+Sn45x"; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id C1FF186589; Thu, 6 Apr 2017 16:58:35 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5X+ipmXHxClw; Thu, 6 Apr 2017 16:58:34 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 5484B86285; Thu, 6 Apr 2017 16:58:34 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 94A8F1C2706 for ; Thu, 6 Apr 2017 16:58:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 8AE3A86E08 for ; Thu, 6 Apr 2017 16:58:32 +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 0jhU1XXdnBYA for ; Thu, 6 Apr 2017 16:58:31 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr0-f195.google.com (mail-wr0-f195.google.com [209.85.128.195]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 5228F86DEF for ; Thu, 6 Apr 2017 16:58:31 +0000 (UTC) Received: by mail-wr0-f195.google.com with SMTP id o21so7989290wrb.3 for ; Thu, 06 Apr 2017 09:58:31 -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; bh=VpxzcUri6/mOkCQg19FNvvjpAeePwTORHaObuUwdo/4=; b=er+Sn45xLSVV8yFyvhsHb8Vf4Zi27axDuJu7eqUwT0aAi1dALX3vghRyNEcNHlhN0K 8CCld/ZYioymZTYTr66oVRDiJBtJj/bPhiXl8eQEJdZoHU/ulIF+ZmUYeKBOetYVahTn fgDPPW7aNhWHI3wlOwZSqMfxIUH6C7UukywByJcVZns1W+vY4t/0KUXqexjwJjB7otLe 65NwGs4QF9LBAga6Mww6kNxFZzi4aHqEVaLXfnab/1MOY3ecngIWZ76wb3/pgaDSZ0xn qjkgj0zWD+e4RKTCHhnYwzWMzKRY01T3tK413T5+qatyrKaG/dhQOopjnorQ1Ti23sF5 IwBw== 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; bh=VpxzcUri6/mOkCQg19FNvvjpAeePwTORHaObuUwdo/4=; b=VPDegBuo0NgqYPq+aEb4NU9CIMTn+zu7+/6oZTXrGrGOVsl1L6VMHCTtPPD+e/4GY7 OOIu9Cqva1N36kuwhXAB7YBtuy0/nQrl4tc9TFPNuAFATGw6zQLSJMpUPVC7rUY9/C4u 8WThOpAX4gJCwvS2dxwYkkjwWCzTfg2jF8l12NuBFSpeT75wW34xk+RrT30gKaw2nN9o 5+7zm9dhcAksKBiouGD3WvYRrrbid/NMzvnt7tCEviFqOGW084h5nsgkOsljrV05hvAC 5QbcTkkJVg6AuS/dYql1YNIKM+/7EWCXBrbILHnar38xu3bDhrJSDtDleLWTzDNW1z6L 4QVQ== X-Gm-Message-State: AFeK/H2Tb/vFCCBsm0Lk6ey5QZqR5pLLFxgD9eBD2wzRoAsQvdFDeh7Dj8PHDYdXt2uVOg== X-Received: by 10.28.131.205 with SMTP id f196mr25225632wmd.24.1491497909717; Thu, 06 Apr 2017 09:58:29 -0700 (PDT) Received: from localhost.localdomain ([89.202.204.147]) by smtp.gmail.com with ESMTPSA id v14sm2775781wra.65.2017.04.06.09.58.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 06 Apr 2017 09:58:29 -0700 (PDT) From: Angelo Compagnucci To: buildroot@buildroot.org Date: Thu, 6 Apr 2017 18:58:25 +0200 Message-Id: <1491497905-18810-1-git-send-email-angelo.compagnucci@gmail.com> X-Mailer: git-send-email 2.7.4 Subject: [Buildroot] [PATCH v3] linux: Add CIP SLTS easy selection option 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 patch adds an easy way to select the CIP project SLTS kernel within the kernel menu. Signed-off-by: Angelo Compagnucci --- Config.in | 20 ++++++++++++++++++++ linux/Config.in | 4 ++++ linux/linux.mk | 3 +++ 3 files changed, 27 insertions(+) diff --git a/Config.in b/Config.in index bd8f0d1..b089ed8 100644 --- a/Config.in +++ b/Config.in @@ -261,6 +261,26 @@ config BR2_KERNEL_MIRROR http://www.XX.kernel.org/pub (XX = country code) http://mirror.aarnet.edu.au/pub/ftp.kernel.org +config BR2_CIP_KERNEL_REPO_URL + string "CIP SLTS (SuperLong Term Support) kernel url" + default "git://git.kernel.org/pub/scm/linux/kernel/git/bwh/linux-cip.git" + help + CIP launched in the spring of 2016 to address the needs of + organizations in industries such as power generation and + distribution, water, oil and gas, transportation, building + automation and more for reliable and secure Linux-based + embedded systems that can be sustained over a period of + 10 to as many as 60 years. + The project's goal is to provide an open source base layer + of industrial-grade software that permits the use and + implementation of software building blocks that meet + these requirements. + + The CIP community plans to maintain 4.4 for security and + bug fixes for more than 10 years. + + https://www.cip-project.org + config BR2_GNU_MIRROR string "GNU Software mirror" default "http://ftpmirror.gnu.org" diff --git a/linux/Config.in b/linux/Config.in index c5565e5..f12d511 100644 --- a/linux/Config.in +++ b/linux/Config.in @@ -28,6 +28,9 @@ choice config BR2_LINUX_KERNEL_LATEST_VERSION bool "Latest version (4.10.8)" +config BR2_LINUX_KERNEL_LATEST_CIP_VERSION + bool "Latest CIP SLTS (Super Long Term Support) version (v4.4.55-cip3)" + config BR2_LINUX_KERNEL_CUSTOM_VERSION bool "Custom version" help @@ -98,6 +101,7 @@ endif config BR2_LINUX_KERNEL_VERSION string default "4.10.8" if BR2_LINUX_KERNEL_LATEST_VERSION + default "v4.4.55-cip3" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \ if BR2_LINUX_KERNEL_CUSTOM_VERSION default "custom" if BR2_LINUX_KERNEL_CUSTOM_TARBALL diff --git a/linux/linux.mk b/linux/linux.mk index f68a3ff..3fa6c15 100644 --- a/linux/linux.mk +++ b/linux/linux.mk @@ -30,6 +30,9 @@ LINUX_SITE_METHOD = hg else ifeq ($(BR2_LINUX_KERNEL_CUSTOM_SVN),y) LINUX_SITE = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_REPO_URL)) LINUX_SITE_METHOD = svn +else ifeq ($(BR2_LINUX_KERNEL_LATEST_CIP_VERSION),y) +LINUX_SITE = $(call qstrip,$(BR2_CIP_KERNEL_REPO_URL)) +LINUX_SITE_METHOD = git else LINUX_SOURCE = linux-$(LINUX_VERSION).tar.xz ifeq ($(BR2_LINUX_KERNEL_CUSTOM_VERSION),y)