From patchwork Tue Feb 24 13:18:57 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?S=C3=A9bastien_Szymanski?= X-Patchwork-Id: 443092 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 8E7FA14012E for ; Wed, 25 Feb 2015 05:03:03 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id B7C26A32F3; Tue, 24 Feb 2015 18:03:01 +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 L9Eu3bsWs2Fp; Tue, 24 Feb 2015 18:02:58 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id E8E50A327A; Tue, 24 Feb 2015 18:02:57 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 4C4D71C231F for ; Tue, 24 Feb 2015 18:02:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 47D93333E8 for ; Tue, 24 Feb 2015 18:02: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 3PFS01XHPE2V for ; Tue, 24 Feb 2015 18:02:54 +0000 (UTC) X-Greylist: delayed 04:10:00 by SQLgrey-1.7.6 Received: from 3.mo3.mail-out.ovh.net (3.mo3.mail-out.ovh.net [46.105.44.175]) by silver.osuosl.org (Postfix) with ESMTPS id 0DFC4305A2 for ; Tue, 24 Feb 2015 18:02:54 +0000 (UTC) Received: from mail177.ha.ovh.net (b6.ovh.net [213.186.33.56]) by mo3.mail-out.ovh.net (Postfix) with SMTP id 64413FFAB9D for ; Tue, 24 Feb 2015 14:14:13 +0100 (CET) Received: from b0.ovh.net (HELO queueout) (213.186.33.50) by b0.ovh.net with SMTP; 24 Feb 2015 15:14:12 +0200 Received: from ip-83-141-169-122.evc.net (HELO localhost.localdomain) (sebastien.szymanski@armadeus.com@83.141.169.122) by ns0.ovh.net with SMTP; 24 Feb 2015 15:14:07 +0200 From: =?UTF-8?q?S=C3=A9bastien=20Szymanski?= To: buildroot@buildroot.org Date: Tue, 24 Feb 2015 14:18:57 +0100 Message-Id: <1424783937-19212-1-git-send-email-sebastien.szymanski@armadeus.com> X-Mailer: git-send-email 2.0.5 MIME-Version: 1.0 X-Ovh-Tracer-Id: 8727413129706558623 X-Ovh-Remote: 83.141.169.122 (ip-83-141-169-122.evc.net) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-OVH-SPAMSTATE: OK X-OVH-SPAMSCORE: 0 X-OVH-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeejledrvddvucetufdoteggodetrfcurfhrohhfihhlvgemucfqggfjnecuuegrihhlohhuthemuceftddtnecu X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeejledrvddvucetufdoteggodetrfcurfhrohhfihhlvgemucfqggfjnecuuegrihhlohhuthemuceftddtnecu Subject: [Buildroot] [PATCH 1/1] linux: add support for 4.x versions. 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: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Sébastien Szymanski --- linux/linux.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/linux/linux.mk b/linux/linux.mk index 29f59e8..0b8c912 100644 --- a/linux/linux.mk +++ b/linux/linux.mk @@ -25,12 +25,14 @@ LINUX_SITE_METHOD = hg else LINUX_SOURCE = linux-$(LINUX_VERSION).tar.xz # In X.Y.Z, get X and Y. We replace dots and dashes by spaces in order -# to use the $(word) function. We support versions such as 3.1, +# to use the $(word) function. We support versions such as 4.0, 3.1, # 2.6.32, 2.6.32-rc1, 3.0-rc6, etc. ifeq ($(findstring x2.6.,x$(LINUX_VERSION)),x2.6.) LINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/v2.6 -else +else ifeq ($(findstring x3.,x$(LINUX_VERSION)),x3.) LINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/v3.x +else ifeq ($(findstring x4.,x$(LINUX_VERSION)),x4.) +LINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/v4.x endif # release candidates are in testing/ subdir ifneq ($(findstring -rc,$(LINUX_VERSION)),)