]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
linux: Add CIP SLTS selection option
authorAngelo Compagnucci <angelo.compagnucci@gmail.com>
Thu, 6 Apr 2017 16:58:25 +0000 (18:58 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 6 Apr 2017 20:24:18 +0000 (22:24 +0200)
This patch adds an easy way to select the CIP project SLTS
kernel within the kernel menu.

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
[Thomas: remove BR2_CIP_KERNEL_REPO_URL option.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
linux/Config.in
linux/linux.mk

index c5565e55d89fc816b2fa1cbff8a7d96b684915cb..10bb2505ad9e1459bf7c5331023cad5054c736e1 100644 (file)
@@ -28,6 +28,25 @@ choice
 config BR2_LINUX_KERNEL_LATEST_VERSION
        bool "Latest version (4.10.8)"
 
+config BR2_LINUX_KERNEL_LATEST_CIP_VERSION
+       bool "Latest CIP SLTS version (v4.4.55-cip3)"
+       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_LINUX_KERNEL_CUSTOM_VERSION
        bool "Custom version"
        help
@@ -98,6 +117,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
index f68a3ff7f81a04fe90ad78d114e0140ea60e2473..7973677d05a9a88b6a52e2061a8d1c7a2926c9dc 100644 (file)
@@ -30,6 +30,8 @@ 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 = git://git.kernel.org/pub/scm/linux/kernel/git/bwh/linux-cip.git
 else
 LINUX_SOURCE = linux-$(LINUX_VERSION).tar.xz
 ifeq ($(BR2_LINUX_KERNEL_CUSTOM_VERSION),y)