From patchwork Fri Apr 10 19:57:54 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerzy Grzegorek X-Patchwork-Id: 460208 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 8CF241402FA for ; Sat, 11 Apr 2015 05:58:13 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 1B8A88B744; Fri, 10 Apr 2015 19:58:12 +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 bghXpqIlowqY; Fri, 10 Apr 2015 19:58:11 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 40E728B73E; Fri, 10 Apr 2015 19:58:11 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 1566E1C22FA for ; Fri, 10 Apr 2015 19:58:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 121B58B73D for ; Fri, 10 Apr 2015 19:58:10 +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 sxARHAYJUpKj for ; Fri, 10 Apr 2015 19:58:08 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.internet.v.pl (mail.internet.v.pl [62.69.205.34]) by whitealder.osuosl.org (Postfix) with SMTP id B01F98B6D1 for ; Fri, 10 Apr 2015 19:58:07 +0000 (UTC) Received: from localhost.localdomain (93-181-142-98.internetia.net.pl [93.181.142.98]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.internet.v.pl (Postfix) with ESMTPSA id E2F9A18A3F3; Fri, 10 Apr 2015 21:58:02 +0200 (CEST) From: Jerzy Grzegorek To: buildroot@busybox.net Date: Fri, 10 Apr 2015 21:57:54 +0200 Message-Id: <1428695874-27584-1-git-send-email-jerzy.grzegorek@trzebnica.net> X-Mailer: git-send-email 1.9.1 Subject: [Buildroot] [PATCH 1/1] linux-headers: 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: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Jerzy Grzegorek --- package/linux-headers/linux-headers.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/linux-headers/linux-headers.mk b/package/linux-headers/linux-headers.mk index d770927..ca68a5b 100644 --- a/package/linux-headers/linux-headers.mk +++ b/package/linux-headers/linux-headers.mk @@ -10,8 +10,10 @@ LINUX_HEADERS_VERSION = $(call qstrip,$(BR2_DEFAULT_KERNEL_HEADERS)) ifeq ($(findstring x2.6.,x$(LINUX_HEADERS_VERSION)),x2.6.) LINUX_HEADERS_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/v2.6 -else +else ifeq ($(findstring x3.,x$(LINUX_HEADERS_VERSION)),x3.) LINUX_HEADERS_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/v3.x +else ifeq ($(findstring x4.,x$(LINUX_HEADERS_VERSION)),x4.) +LINUX_HEADERS_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/v4.x endif LINUX_HEADERS_SOURCE = linux-$(LINUX_HEADERS_VERSION).tar.xz