011-tune_lzma_options.patch 745 B

12345678910111213141516171819202122
  1. --- a/scripts/Makefile.lib
  2. +++ b/scripts/Makefile.lib
  3. @@ -324,7 +324,7 @@ cmd_bzip2 = (cat $(filter-out FORCE,$^)
  4. quiet_cmd_lzma = LZMA $@
  5. cmd_lzma = (cat $(filter-out FORCE,$^) | \
  6. - lzma e -d20 -lc1 -lp2 -pb2 -eos -si -so && $(call size_append, $(filter-out FORCE,$^))) > $@ || \
  7. + lzma e -lc8 -eos -si -so && $(call size_append, $(filter-out FORCE,$^))) > $@ || \
  8. (rm -f $@ ; false)
  9. quiet_cmd_lzo = LZO $@
  10. --- a/arch/x86/include/asm/boot.h
  11. +++ b/arch/x86/include/asm/boot.h
  12. @@ -23,7 +23,7 @@
  13. #error "Invalid value for CONFIG_PHYSICAL_ALIGN"
  14. #endif
  15. -#ifdef CONFIG_KERNEL_BZIP2
  16. +#if defined(CONFIG_KERNEL_BZIP2) || defined(CONFIG_KERNEL_LZMA)
  17. #define BOOT_HEAP_SIZE 0x400000
  18. #else /* !CONFIG_KERNEL_BZIP2 */