2020-02-23 13:55:25 +00:00
|
|
|
--- a/scripts/Makefile.lib
|
|
|
|
+++ b/scripts/Makefile.lib
|
2020-03-09 11:39:35 +00:00
|
|
|
@@ -328,7 +328,7 @@ quiet_cmd_bzip2 = BZIP2 $@
|
2020-02-23 13:58:32 +00:00
|
|
|
# ---------------------------------------------------------------------------
|
2020-02-23 13:55:25 +00:00
|
|
|
|
|
|
|
quiet_cmd_lzma = LZMA $@
|
2020-02-23 13:58:32 +00:00
|
|
|
- cmd_lzma = { cat $(real-prereqs) | lzma e -d20 -lc1 -lp2 -pb2 -eos -si -so; $(size_append); } > $@
|
|
|
|
+ cmd_lzma = { cat $(real-prereqs) | lzma e -lc8 -eos -si -so; $(size_append); } > $@
|
2020-02-23 13:55:25 +00:00
|
|
|
|
|
|
|
quiet_cmd_lzo = LZO $@
|
2020-02-23 13:58:32 +00:00
|
|
|
cmd_lzo = { cat $(real-prereqs) | lzop -9; $(size_append); } > $@
|
2020-02-23 13:55:25 +00:00
|
|
|
--- a/arch/x86/include/asm/boot.h
|
|
|
|
+++ b/arch/x86/include/asm/boot.h
|
|
|
|
@@ -24,7 +24,7 @@
|
|
|
|
# error "Invalid value for CONFIG_PHYSICAL_ALIGN"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
-#ifdef CONFIG_KERNEL_BZIP2
|
|
|
|
+#if defined(CONFIG_KERNEL_BZIP2) || defined(CONFIG_KERNEL_LZMA)
|
|
|
|
# define BOOT_HEAP_SIZE 0x400000
|
|
|
|
#else /* !CONFIG_KERNEL_BZIP2 */
|
|
|
|
# define BOOT_HEAP_SIZE 0x10000
|