From: Raúl Sánchez Siles Date: Sat, 11 May 2013 01:40:36 +0000 (+0000) Subject: Choose xz compressed tarball for linux kernel. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=98b5cc3eb4d4103b2149325b98a5e93e68c68dd8;p=buildroot.git Choose xz compressed tarball for linux kernel. 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 --- 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