From patchwork Tue Nov 26 11:59:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 1200994 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="lWoWDxn5"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47MjBZ4dWPz9sPZ for ; Tue, 26 Nov 2019 22:59:50 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 9946F85F5F; Tue, 26 Nov 2019 11:59:48 +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 uKrTfXHoc60D; Tue, 26 Nov 2019 11:59:46 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id A7C6F85DA5; Tue, 26 Nov 2019 11:59:46 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 9F6F51BF23F for ; Tue, 26 Nov 2019 11:59:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 94A91204D7 for ; Tue, 26 Nov 2019 11:59:45 +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 Cbs82iP11LAM for ; Tue, 26 Nov 2019 11:59:44 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) by silver.osuosl.org (Postfix) with ESMTPS id B67BF204BF for ; Tue, 26 Nov 2019 11:59:43 +0000 (UTC) Received: by mail-wm1-f66.google.com with SMTP id l17so2939731wmh.0 for ; Tue, 26 Nov 2019 03:59:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id; bh=sOSRfPL2R3IaOhP9rmIc+yruaHonMMnl7M2P3xujP7s=; b=lWoWDxn54YFnM2q6idOTbCy4Ebjp/045K15acv8fNujnaFFguLe78C/jvoAQTj7NGT Ul2HinP+rpbuMblUBN4b3laDoQ2eTeiQHJZLqZnTBQYZqNkTLhuC3jIAgCZS+jBUeGwO WV9Tz4/GlxHvdyhG5b61SNvTsvPuVASiVq0gg= 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=sOSRfPL2R3IaOhP9rmIc+yruaHonMMnl7M2P3xujP7s=; b=MoSdMN96z0apEy94SRmgfUI1H3yWVm/3XrF1UxGl3ep6npaEFeJwrBBvFuy3ChjmQ0 MY6N4gZrHRX+7Ynx/FPvuJrwvI00Zb35A8YSDSdJVjtypv9Bu9qd7XzOrbZQTfqpJ04Y qdU3L1wq+e1MMjnX0I9lC2+aYLwxeHmIzp0bc03/QUsy6pVKw0is54AvMc+6vlZYxfEv +jB6LA9Hs2MrN6iSzkNuqauskLxWSRrvWY7E60SRMvbb9Evepk9GCH8TMgz31VOQGbhB jpCCFcIa7uRgN43BSIvy/3BewvlpLOqNdVKD+gSG0vb5+P14XZhUshyRwWUsc/KPg+1J YemQ== X-Gm-Message-State: APjAAAWcp1KZ324CALgi83kEcln6ivX5eN7hCgYfKaZvOALtJ9pzVZI8 VOS+1hvb0cZ80EMZVDI3AHfctjj7MWs= X-Google-Smtp-Source: APXvYqy1srdSTrVBFrql8BhFLtPfpuPXv4sx2VpQslpAo9/fU3ZHwYCxZilSYQf6fPMBfSKmeliKCA== X-Received: by 2002:a7b:c858:: with SMTP id c24mr4095165wml.174.1574769581710; Tue, 26 Nov 2019 03:59:41 -0800 (PST) Received: from localhost.localdomain ([89.202.204.147]) by smtp.gmail.com with ESMTPSA id r2sm14443827wrp.64.2019.11.26.03.59.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 26 Nov 2019 03:59:41 -0800 (PST) From: Angelo Compagnucci To: buildroot@buildroot.org Date: Tue, 26 Nov 2019 12:59:33 +0100 Message-Id: <1574769573-28984-1-git-send-email-angelo@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 Subject: [Buildroot] [PATCH v2] linux: add option to select the CIP real-time kernel 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: Angelo Compagnucci , Angelo Compagnucci MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Angelo Compagnucci This patch adds Linux CIP RT, the PREEMPT_RT real-time variant maintained by the CIP team. Signed-off-by: Angelo Compagnucci --- Changelo: v1 -> v2: * better commit message (T. Petazzoni) * fixed variable condition checking in mk (T. Petazzoni) linux/Config.in | 12 ++++++++++++ linux/linux.mk | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/linux/Config.in b/linux/Config.in index 8c5539c..eacd53d 100644 --- a/linux/Config.in +++ b/linux/Config.in @@ -53,6 +53,17 @@ config BR2_LINUX_KERNEL_LATEST_CIP_VERSION https://www.cip-project.org +config BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION + bool "Latest CIP RT SLTS version (4.19.72-cip10-rt4)" + help + Same as the CIP version, but this is the PREEMPT_RT realtime + variant. + + The CIP community plans to maintain 4.19 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 @@ -124,6 +135,7 @@ config BR2_LINUX_KERNEL_VERSION string default "5.3.8" if BR2_LINUX_KERNEL_LATEST_VERSION default "4.19.82-cip14" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION + default "4.19.72-cip10-rt4" if BR2_LINUX_KERNEL_LATEST_CIP_RT_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 c45db4d..762f886 100644 --- a/linux/linux.mk +++ b/linux/linux.mk @@ -29,7 +29,7 @@ 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) +else ifeq ($(BR2_LINUX_KERNEL_LATEST_CIP_VERSION)$(BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION),y) LINUX_SOURCE = linux-cip-$(LINUX_VERSION).tar.gz LINUX_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/cip/linux-cip.git/snapshot else ifneq ($(findstring -rc,$(LINUX_VERSION)),)