diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2018-11-01 18:03:00 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2019-01-12 22:40:36 +0100 |
commit | 75fdf3ba01e9379f4301ccbaf3eeedf0923076f1 (patch) | |
tree | c9da11ab45a2e400101b6cbd60f1c5bfb821024b /target/linux/x86/patches-4.19/011-tune_lzma_options.patch | |
parent | f6e0ecdcebeb0cd8c595026dd7ace896fc89b7c3 (diff) | |
download | upstream-75fdf3ba01e9379f4301ccbaf3eeedf0923076f1.tar.gz upstream-75fdf3ba01e9379f4301ccbaf3eeedf0923076f1.tar.bz2 upstream-75fdf3ba01e9379f4301ccbaf3eeedf0923076f1.zip |
x86: Add support for kernel 4.19
This adds initial support for kernel 4.19 to the x86 target.
The patches and the kernel configurations were copied from kernel 4.14
and then refreshed.
The legacy and the genode target will not support PAE any more because
they use a CPU type which does not support PAE, the generic sub target
still supports PAE.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/x86/patches-4.19/011-tune_lzma_options.patch')
-rw-r--r-- | target/linux/x86/patches-4.19/011-tune_lzma_options.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/target/linux/x86/patches-4.19/011-tune_lzma_options.patch b/target/linux/x86/patches-4.19/011-tune_lzma_options.patch new file mode 100644 index 0000000000..e680f9c484 --- /dev/null +++ b/target/linux/x86/patches-4.19/011-tune_lzma_options.patch @@ -0,0 +1,22 @@ +--- a/scripts/Makefile.lib ++++ b/scripts/Makefile.lib +@@ -324,7 +324,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 +@@ -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 |