kernel: bump 5.4 to 5.4.24
[openwrt/staging/wigyori.git] / target / linux / x86 / patches-5.4 / 011-tune_lzma_options.patch
1 --- a/scripts/Makefile.lib
2 +++ b/scripts/Makefile.lib
3 @@ -328,7 +328,7 @@ quiet_cmd_bzip2 = BZIP2 $@
4 # ---------------------------------------------------------------------------
5
6 quiet_cmd_lzma = LZMA $@
7 - cmd_lzma = { cat $(real-prereqs) | lzma e -d20 -lc1 -lp2 -pb2 -eos -si -so; $(size_append); } > $@
8 + cmd_lzma = { cat $(real-prereqs) | lzma e -lc8 -eos -si -so; $(size_append); } > $@
9
10 quiet_cmd_lzo = LZO $@
11 cmd_lzo = { cat $(real-prereqs) | lzop -9; $(size_append); } > $@
12 --- a/arch/x86/include/asm/boot.h
13 +++ b/arch/x86/include/asm/boot.h
14 @@ -24,7 +24,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 # define BOOT_HEAP_SIZE 0x10000