From: Imre Kaloz Date: Sun, 18 Nov 2012 08:49:08 +0000 (+0000) Subject: use xz compressed kernel tarballs X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0fa21ec3ebb9fa5cfd54d29db17673104a6cac8f;p=openwrt%2Fstaging%2Fyousong.git use xz compressed kernel tarballs SVN-Revision: 34228 --- diff --git a/include/kernel-defaults.mk b/include/kernel-defaults.mk index c3e9f1f0d8..ab73c1ae16 100644 --- a/include/kernel-defaults.mk +++ b/include/kernel-defaults.mk @@ -31,7 +31,7 @@ Kernel/Patch:=$(Kernel/Patch/Default) ifeq ($(strip $(CONFIG_EXTERNAL_KERNEL_TREE)),"") ifeq ($(strip $(CONFIG_KERNEL_GIT_CLONE_URI)),"") define Kernel/Prepare/Default - bzcat $(DL_DIR)/$(LINUX_SOURCE) | $(TAR) -C $(KERNEL_BUILD_DIR) $(TAR_OPTIONS) + xzcat $(DL_DIR)/$(LINUX_SOURCE) | $(TAR) -C $(KERNEL_BUILD_DIR) $(TAR_OPTIONS) $(Kernel/Patch) touch $(LINUX_DIR)/.quilt_used endef diff --git a/include/kernel-version.mk b/include/kernel-version.mk index 89a8aa984e..bca234c06d 100644 --- a/include/kernel-version.mk +++ b/include/kernel-version.mk @@ -3,10 +3,10 @@ LINUX_RELEASE?=1 ifeq ($(LINUX_VERSION),3.3.8) - LINUX_KERNEL_MD5SUM:=21068f0fd262b9b3670947f7892e1d6b + LINUX_KERNEL_MD5SUM:=f1058f64eed085deb44f10cee8541d50 endif ifeq ($(LINUX_VERSION),3.6.7) - LINUX_KERNEL_MD5SUM:=7c959e3e0b6559ca3f1b7bf86fdc6370 + LINUX_KERNEL_MD5SUM:=089209f655c8811db20d8b6ff37a8093 endif # disable the md5sum check for unknown kernel versions diff --git a/include/kernel.mk b/include/kernel.mk index c84f7bd37f..6f5d3ae386 100644 --- a/include/kernel.mk +++ b/include/kernel.mk @@ -49,7 +49,7 @@ else LINUX_KERNEL:=$(KERNEL_BUILD_DIR)/vmlinux - LINUX_SOURCE:=linux-$(LINUX_VERSION).tar.bz2 + LINUX_SOURCE:=linux-$(LINUX_VERSION).tar.xz TESTING:=$(if $(findstring -rc,$(LINUX_VERSION)),/testing,) ifeq ($(call qstrip,$(CONFIG_EXTERNAL_KERNEL_TREE))$(call qstrip,$(CONFIG_KERNEL_GIT_CLONE_URI)),) LINUX_SITE:=@KERNEL/linux/kernel/v3.x$(TESTING)