| 1 | --- a/scripts/Makefile.lib |
| 2 | +++ b/scripts/Makefile.lib |
| 3 | @@ -296,7 +296,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 | |
| 23 | |