From 98b5cc3eb4d4103b2149325b98a5e93e68c68dd8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ra=C3=BAl=20S=C3=A1nchez=20Siles?= Date: Sat, 11 May 2013 01:40:36 +0000 Subject: [PATCH] Choose xz compressed tarball for linux kernel. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Prefer xz compressed tarball so some bandwidth is saved for kernel headers and kernel itself downloads. Signed-off-by: Raúl Sánchez Siles Reviewed-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- linux/linux.mk | 2 +- toolchain/kernel-headers/kernel-headers.mk | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/linux/linux.mk b/linux/linux.mk index d375cf0328..31155642d1 100644 --- a/linux/linux.mk +++ b/linux/linux.mk @@ -16,7 +16,7 @@ else ifeq ($(BR2_LINUX_KERNEL_CUSTOM_GIT),y) LINUX_SITE = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_GIT_REPO_URL)) LINUX_SITE_METHOD = git else -LINUX_SOURCE = linux-$(LINUX_VERSION).tar.bz2 +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, # 2.6.32, 2.6.32-rc1, 3.0-rc6, etc. diff --git a/toolchain/kernel-headers/kernel-headers.mk b/toolchain/kernel-headers/kernel-headers.mk index adf7bc45fd..b5ae3227e1 100644 --- a/toolchain/kernel-headers/kernel-headers.mk +++ b/toolchain/kernel-headers/kernel-headers.mk @@ -31,8 +31,8 @@ LINUX_HEADERS_SITE:=$(BR2_KERNEL_MIRROR:/=)/linux/kernel/v2.6/ else LINUX_HEADERS_SITE:=$(BR2_KERNEL_MIRROR:/=)/linux/kernel/v3.x/ endif -LINUX_HEADERS_SOURCE:=linux-$(LINUX_HEADERS_VERSION).tar.bz2 -LINUX_HEADERS_CAT:=$(BZCAT) +LINUX_HEADERS_SOURCE:=linux-$(LINUX_HEADERS_VERSION).tar.xz +LINUX_HEADERS_CAT:=$(XZCAT) LINUX_HEADERS_UNPACK_DIR:=$(TOOLCHAIN_DIR)/linux-$(LINUX_HEADERS_VERSION) LINUX_HEADERS_DIR:=$(TOOLCHAIN_DIR)/linux -- 2.30.2