From patchwork Tue Mar 7 22:23:48 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 736383 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]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3vdB5f52Y0z9sNC for ; Wed, 8 Mar 2017 09:24:06 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="VtdYsRLx"; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 87E9D88553; Tue, 7 Mar 2017 22:24:04 +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 GFbfcBJBQCCr; Tue, 7 Mar 2017 22:24:03 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id EB7D388535; Tue, 7 Mar 2017 22:24:02 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id EA33F1BFB26 for ; Tue, 7 Mar 2017 22:23:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id E62A188FA1 for ; Tue, 7 Mar 2017 22:23:59 +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 pS7fqPUPUx4p for ; Tue, 7 Mar 2017 22:23:59 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by whitealder.osuosl.org (Postfix) with ESMTPS id DCE8488F68 for ; Tue, 7 Mar 2017 22:23:58 +0000 (UTC) Received: by mail-wm0-f65.google.com with SMTP id u132so3284850wmg.1 for ; Tue, 07 Mar 2017 14:23:58 -0800 (PST) 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; bh=qizqSrCp+gCgmqC4JcdOQfZL/7WE4CQYvwh4G/ZEuPk=; b=VtdYsRLx5nxkJ/vW5ecOatdYzSrQ72AnbHEVYXHnZRdquzR+W+QXyIY3oaiOPoaS4V DR883qzDU/LqfivKNSxUkw1zPPV7BbEHAN2Mu6TaAb38HR6rVdmOuev0007Li9ai7bJC TGgvPcOgmjMfbOLjLpqI9usCaHHDEZWrsqBFWqHUYqs4LyedBNv5Zuw/TFWy+p1+WGi4 6xtW+BBhaXbtk6CFa3cVXY0nerU/P7ed0xUxUGxC51jD8H3abcCe/gKwsNmFg4RcWUIq 6DB298vAKcjad9d8PtFAeNjG/0+VLKuLE9FElxwEA09UcqjcltK0diwjlb33IjYJBThQ OQ8w== 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; bh=qizqSrCp+gCgmqC4JcdOQfZL/7WE4CQYvwh4G/ZEuPk=; b=UJvAIucynDarSHQUzdGyMZLvhC+57nN2joAH6q5+z7Ci2NG/82ULSLYbMX0+oAPirV G1x3Pk7cEBQNLrMz/HxiAc/py0m0l5p7u+ANO6EtzUcqx5trNyX/x3mABun7/TEuvQ36 G3z7WAdAE0pE+fFf5VMNr3s483+2ntfLF2401rIkVjMaAnC9FNEsHEFNzSQSw2BNRLQE FndGhIdT9EC+t38OFyxXq1jaarViFAwoPnoL3Qf8pLuAKIdeLd97kMoe4IJOVfv8FotD k2GPtM4TiVULU7lM7JP4oUOZgr8wikRzIB/FgPLqlkORJpngefcdZWcVydSouYBIEzhm lOBg== X-Gm-Message-State: AMke39mIGvchaR2AMbKWrsb8o89dfbDVGumkvMsltHed2HFtdaX/Hpm+/3sHAIMypFMgBQ== X-Received: by 10.28.216.141 with SMTP id p135mr7566829wmg.71.1488925437221; Tue, 07 Mar 2017 14:23:57 -0800 (PST) Received: from localhost.localdomain ([89.202.204.147]) by smtp.gmail.com with ESMTPSA id i82sm773121wmf.1.2017.03.07.14.23.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 07 Mar 2017 14:23:56 -0800 (PST) From: Angelo Compagnucci To: buildroot@buildroot.org Date: Tue, 7 Mar 2017 23:23:48 +0100 Message-Id: <1488925428-12805-3-git-send-email-angelo.compagnucci@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1488925428-12805-1-git-send-email-angelo.compagnucci@gmail.com> References: <1488925428-12805-1-git-send-email-angelo.compagnucci@gmail.com> Subject: [Buildroot] [PATCH v2 2/2] 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 --- linux/Config.in | 25 +++++++++++++++++++++++++ linux/linux.mk | 4 ++++ 2 files changed, 29 insertions(+) diff --git a/linux/Config.in b/linux/Config.in index 1707f7d..76acece 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.1)" +config BR2_LINUX_KERNEL_LATEST_CIP_VERSION + bool "Latest CIP SLTS (Super Long Term Support)" + config BR2_LINUX_KERNEL_CUSTOM_VERSION bool "Custom version" help @@ -95,9 +98,31 @@ config BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION endif +if BR2_LINUX_KERNEL_LATEST_CIP_VERSION + +choice + prompt "CIP version" + default BR2_LINUX_KERNEL_LATEST_CIP_VERSION_TAG + + config BR2_LINUX_KERNEL_LATEST_CIP_VERSION_TAG + bool "Latest tagged version (v4.4.48-cip2)" + help + Use the latest tagged version + + config BR2_LINUX_KERNEL_LATEST_CIP_VERSION_BRANCH + bool "Latest released version" + help + Always use the latest released version at the time of compiling + +endchoice + +endif + config BR2_LINUX_KERNEL_VERSION string default "4.10.1" if BR2_LINUX_KERNEL_LATEST_VERSION + default "v4.4.48-cip2" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION_TAG + default "linux-4.4.y-cip" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION_BRANCH 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 7f4432e..473a198 100644 --- a/linux/linux.mk +++ b/linux/linux.mk @@ -30,6 +30,10 @@ 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 gitlab,cip-project,cip-kernel-4.4,$(LINUX_VERSION)) +LINUX_SOURCE = linux-$(LINUX_VERSION).tar.bz2 +BR_NO_CHECK_HASH_FOR += $(LINUX_SOURCE) else LINUX_SOURCE = linux-$(LINUX_VERSION).tar.xz ifeq ($(BR2_LINUX_KERNEL_CUSTOM_VERSION),y)