diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-04-21 15:18:58 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-04-21 15:18:58 +0000 |
commit | 668290df9cbf56cea155a026428cebafe5d733cc (patch) | |
tree | 0e367872a6fa6b1a5fbe15dba5a3f243dda26c6c /target/linux/generic/patches-2.6.31/052-lzo_compressed_kernel_for_x86.patch | |
parent | 5ae4549c65025643aa31c4e38e6f2eb6c59e709b (diff) | |
download | upstream-668290df9cbf56cea155a026428cebafe5d733cc.tar.gz upstream-668290df9cbf56cea155a026428cebafe5d733cc.tar.bz2 upstream-668290df9cbf56cea155a026428cebafe5d733cc.zip |
linux/2.6.31: R.I.P.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31412 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-2.6.31/052-lzo_compressed_kernel_for_x86.patch')
-rw-r--r-- | target/linux/generic/patches-2.6.31/052-lzo_compressed_kernel_for_x86.patch | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/target/linux/generic/patches-2.6.31/052-lzo_compressed_kernel_for_x86.patch b/target/linux/generic/patches-2.6.31/052-lzo_compressed_kernel_for_x86.patch deleted file mode 100644 index ea7d2400ba..0000000000 --- a/target/linux/generic/patches-2.6.31/052-lzo_compressed_kernel_for_x86.patch +++ /dev/null @@ -1,48 +0,0 @@ ---- a/arch/x86/Kconfig -+++ b/arch/x86/Kconfig -@@ -49,6 +49,7 @@ config X86 - select HAVE_KERNEL_GZIP - select HAVE_KERNEL_BZIP2 - select HAVE_KERNEL_LZMA -+ select HAVE_KERNEL_LZO - select HAVE_ARCH_KMEMCHECK - - config OUTPUT_FORMAT ---- a/arch/x86/boot/compressed/Makefile -+++ b/arch/x86/boot/compressed/Makefile -@@ -4,7 +4,7 @@ - # create a compressed vmlinux image from the original vmlinux - # - --targets := vmlinux.lds vmlinux vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 vmlinux.bin.lzma head_$(BITS).o misc.o piggy.o -+targets := vmlinux.lds vmlinux vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 vmlinux.bin.lzma vmlinux.bin.lzo head_$(BITS).o misc.o piggy.o - - KBUILD_CFLAGS := -m$(BITS) -D__KERNEL__ $(LINUX_INCLUDE) -O2 - KBUILD_CFLAGS += -fno-strict-aliasing -fPIC -@@ -48,10 +48,13 @@ $(obj)/vmlinux.bin.bz2: $(vmlinux.bin.al - $(call if_changed,bzip2) - $(obj)/vmlinux.bin.lzma: $(vmlinux.bin.all-y) FORCE - $(call if_changed,lzma) -+$(obj)/vmlinux.bin.lzo: $(vmlinux.bin.all-y) FORCE -+ $(call if_changed,lzo) - - suffix-$(CONFIG_KERNEL_GZIP) := gz - suffix-$(CONFIG_KERNEL_BZIP2) := bz2 - suffix-$(CONFIG_KERNEL_LZMA) := lzma -+suffix-$(CONFIG_KERNEL_LZO) := lzo - - quiet_cmd_mkpiggy = MKPIGGY $@ - cmd_mkpiggy = $(obj)/mkpiggy $< > $@ || ( rm -f $@ ; false ) ---- a/arch/x86/boot/compressed/misc.c -+++ b/arch/x86/boot/compressed/misc.c -@@ -162,6 +162,10 @@ static int lines, cols; - #include "../../../../lib/decompress_unlzma.c" - #endif - -+#ifdef CONFIG_KERNEL_LZO -+#include "../../../../lib/decompress_unlzo.c" -+#endif -+ - static void scroll(void) - { - int i; |