diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-04-07 15:53:05 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2013-04-07 15:53:05 +0000 |
commit | 89f690843f0e05a9ecb5ea14c75808e9934a6d26 (patch) | |
tree | c4355f13751e9795c754fb20ace5f8b99e272376 /target/linux/x86/patches-3.8/011-tune_lzma_options.patch | |
parent | d1f28c6d1f6f27e496eb4c0b0bba6fc27835fd30 (diff) | |
download | mtk-20170518-89f690843f0e05a9ecb5ea14c75808e9934a6d26.zip mtk-20170518-89f690843f0e05a9ecb5ea14c75808e9934a6d26.tar.gz mtk-20170518-89f690843f0e05a9ecb5ea14c75808e9934a6d26.tar.bz2 |
x86: add support for 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36250
Diffstat (limited to 'target/linux/x86/patches-3.8/011-tune_lzma_options.patch')
-rw-r--r-- | target/linux/x86/patches-3.8/011-tune_lzma_options.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/target/linux/x86/patches-3.8/011-tune_lzma_options.patch b/target/linux/x86/patches-3.8/011-tune_lzma_options.patch new file mode 100644 index 0000000..c1c6004 --- /dev/null +++ b/target/linux/x86/patches-3.8/011-tune_lzma_options.patch @@ -0,0 +1,22 @@ +--- a/scripts/Makefile.lib ++++ b/scripts/Makefile.lib +@@ -299,7 +299,7 @@ cmd_bzip2 = (cat $(filter-out FORCE,$^) + + quiet_cmd_lzma = LZMA $@ + cmd_lzma = (cat $(filter-out FORCE,$^) | \ +- lzma e -d20 -lc1 -lp2 -pb2 -eos -si -so && $(call size_append, $(filter-out FORCE,$^))) > $@ || \ ++ lzma e -lc8 -eos -si -so && $(call size_append, $(filter-out FORCE,$^))) > $@ || \ + (rm -f $@ ; false) + + quiet_cmd_lzo = LZO $@ +--- a/arch/x86/include/asm/boot.h ++++ b/arch/x86/include/asm/boot.h +@@ -23,7 +23,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 */ + |