From patchwork Mon Nov 25 22:58:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 1200599 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.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="rGRBM9/z"; 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 47MMsb4sW7z9s4Y for ; Tue, 26 Nov 2019 09:58:59 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 77BFD204FD; Mon, 25 Nov 2019 22:58:56 +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 8gWFYznHgGjo; Mon, 25 Nov 2019 22:58:54 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id BF94F20496; Mon, 25 Nov 2019 22:58:54 +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 0B6B41BF370 for ; Mon, 25 Nov 2019 22:58:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 084408792F for ; Mon, 25 Nov 2019 22:58:54 +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 8cjm2JGdhR51 for ; Mon, 25 Nov 2019 22:58:53 +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 hemlock.osuosl.org (Postfix) with ESMTPS id DBCD787918 for ; Mon, 25 Nov 2019 22:58:52 +0000 (UTC) Received: by mail-wm1-f66.google.com with SMTP id z19so1148109wmk.3 for ; Mon, 25 Nov 2019 14:58:52 -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; bh=k9y4s5xVRQlTZs0o3n2aVqiPW+p6MGsJAoFQaMol5Eg=; b=rGRBM9/zVm75a06Hh59J/tPlc+kxv6DAU+iOx3JDXKRU417gDAASjhK7hXFvzjmWBM N820TrR/RKmv0usgXt5lnMStZ0cNPGrMRK2HE3I3ADXrnGcEwIzVbuyOxjRDPKlzKhhg R3AxLrDOf+pJFdOkPS/Na8NgHz+c1VEp+tAV6a7FkYfkhgP0PkzSIiR1ucHA+QAD+F9F uvgH1ityJMAKqqkB4F5s9gfvAE1xBpIITWoUNXOB/GqcMpge9oM+0eADk5dPq8CknS64 YZZARzw0f9zs3RdJSdB/4bGCP/4zOsUQ6/QHaiS/46nHg+VkKMWn3BysSAkOwDsCEVPR UGGQ== 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=k9y4s5xVRQlTZs0o3n2aVqiPW+p6MGsJAoFQaMol5Eg=; b=D4lTNr/zEUaUcD/TWcXWB+FYImfaXfDqbm6M5NvezBslAPOI9bXpNE6jReMzOr6bwx zlQ0Uk3W6PoJ0CLxnqSDguVvTjaaEHCI9sqgN5tkrGl6sOK7EWI4ICBq7ESIXzDXgVx0 aPXpH/vsflvsmliT4DkJIe74C0U3b4WocK1JaPdbHMVa1esc2YLsEW3F+9IwtlFhLPdD OIVHA0PhLDAeZ6SHmXWYGNCf8thdACzRBYFwpJrV83E/PaqyUiTXVq8jh/Q5nsMlkScp 6D6AfcVcDtgvGrej2i1X2m2L6t0zPLsxxUiE4YngzTYj5YZT1OtxOCS5r8qFQygPPN94 Qp9Q== X-Gm-Message-State: APjAAAX9Vb+V/qG3L9Qs+nD8cX4GgywbCF8cOKAE2rSLik+0PqEHjvX1 MJoL50hwcPViY6FXUg+cV0XlSAIkGno= X-Google-Smtp-Source: APXvYqyvn3fi8LJAuYvC/u/Jrlh1VQN5jmLqKWg2AkxQ/WXiL1cOdY7Ft+Qvr4/glXlfp16sXtS7xA== X-Received: by 2002:a1c:39c2:: with SMTP id g185mr1013918wma.88.1574722730781; Mon, 25 Nov 2019 14:58:50 -0800 (PST) Received: from localhost.localdomain ([37.163.157.20]) by smtp.gmail.com with ESMTPSA id h5sm12533947wrx.16.2019.11.25.14.58.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Nov 2019 14:58:50 -0800 (PST) From: Angelo Compagnucci X-Google-Original-From: Angelo Compagnucci To: buildroot@buildroot.org Date: Mon, 25 Nov 2019 23:58:46 +0100 Message-Id: <20191125225846.13484-1-angelo@amarulasolutions.com> X-Mailer: git-send-email 2.17.1 Subject: [Buildroot] [PATCH] linux: adding CIP RT 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 MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This patch adds Linux CIP RT, the PREEMPT_RT realtime variant maintained from the CIP team. Signed-off-by: Angelo Compagnucci --- 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 8c5539c9ab..eacd53dafb 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 c45db4d24f..befad98f2f 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 ifneq ($(filter $(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)),)