1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-23 21:37:10 +02:00

use xz compressed kernel tarballs

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34228 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
kaloz 2012-11-18 08:49:08 +00:00
parent b270e13375
commit 1e890393c3
3 changed files with 4 additions and 4 deletions

View File

@ -31,7 +31,7 @@ Kernel/Patch:=$(Kernel/Patch/Default)
ifeq ($(strip $(CONFIG_EXTERNAL_KERNEL_TREE)),"") ifeq ($(strip $(CONFIG_EXTERNAL_KERNEL_TREE)),"")
ifeq ($(strip $(CONFIG_KERNEL_GIT_CLONE_URI)),"") ifeq ($(strip $(CONFIG_KERNEL_GIT_CLONE_URI)),"")
define Kernel/Prepare/Default 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) $(Kernel/Patch)
touch $(LINUX_DIR)/.quilt_used touch $(LINUX_DIR)/.quilt_used
endef endef

View File

@ -3,10 +3,10 @@
LINUX_RELEASE?=1 LINUX_RELEASE?=1
ifeq ($(LINUX_VERSION),3.3.8) ifeq ($(LINUX_VERSION),3.3.8)
LINUX_KERNEL_MD5SUM:=21068f0fd262b9b3670947f7892e1d6b LINUX_KERNEL_MD5SUM:=f1058f64eed085deb44f10cee8541d50
endif endif
ifeq ($(LINUX_VERSION),3.6.7) ifeq ($(LINUX_VERSION),3.6.7)
LINUX_KERNEL_MD5SUM:=7c959e3e0b6559ca3f1b7bf86fdc6370 LINUX_KERNEL_MD5SUM:=089209f655c8811db20d8b6ff37a8093
endif endif
# disable the md5sum check for unknown kernel versions # disable the md5sum check for unknown kernel versions

View File

@ -49,7 +49,7 @@ else
LINUX_KERNEL:=$(KERNEL_BUILD_DIR)/vmlinux 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,) TESTING:=$(if $(findstring -rc,$(LINUX_VERSION)),/testing,)
ifeq ($(call qstrip,$(CONFIG_EXTERNAL_KERNEL_TREE))$(call qstrip,$(CONFIG_KERNEL_GIT_CLONE_URI)),) ifeq ($(call qstrip,$(CONFIG_EXTERNAL_KERNEL_TREE))$(call qstrip,$(CONFIG_KERNEL_GIT_CLONE_URI)),)
LINUX_SITE:=@KERNEL/linux/kernel/v3.x$(TESTING) LINUX_SITE:=@KERNEL/linux/kernel/v3.x$(TESTING)