[package] base-files: add an experimental "-c" flag which tries to preserve *all...
[openwrt.git] / target / linux / rdc / patches-2.6.32 / 011-tune_lzma_options.patch
1 --- a/scripts/Makefile.lib
2 +++ b/scripts/Makefile.lib
3 @@ -228,7 +228,7 @@ cmd_bzip2 = (cat $(filter-out FORCE,$^)
4
5 quiet_cmd_lzma = LZMA $@
6 cmd_lzma = (cat $(filter-out FORCE,$^) | \
7 - lzma e -d20 -lc1 -lp2 -pb2 -eos -si -so && $(call size_append, $(filter-out FORCE,$^))) > $@ || \
8 + lzma e -lc8 -eos -si -so && $(call size_append, $(filter-out FORCE,$^))) > $@ || \
9 (rm -f $@ ; false)
10
11 quiet_cmd_lzo = LZO $@
12 --- a/arch/x86/include/asm/boot.h
13 +++ b/arch/x86/include/asm/boot.h
14 @@ -28,7 +28,7 @@
15 #error "Invalid value for CONFIG_PHYSICAL_ALIGN"
16 #endif
17
18 -#ifdef CONFIG_KERNEL_BZIP2
19 +#if defined(CONFIG_KERNEL_BZIP2) || defined(CONFIG_KERNEL_LZMA)
20 #define BOOT_HEAP_SIZE 0x400000
21 #else /* !CONFIG_KERNEL_BZIP2 */
22
This page took 0.043991 seconds and 5 git commands to generate.