[Buildroot] [PATCH 1/1] linux: support uncompressed kernel
Peter Korsgaard
peter at korsgaard.com
Fri Mar 26 22:59:20 UTC 2021
>>>>> "Alexander" == Alexander Egorenkov <egorenar at linux.ibm.com> writes:
> Enables to build an uncompressed Linux kernel.
> Signed-off-by: Alexander Egorenkov <egorenar at linux.ibm.com>
> ---
> linux/Config.in | 3 +++
> linux/linux.mk | 1 +
> 2 files changed, 4 insertions(+)
> diff --git a/linux/Config.in b/linux/Config.in
> index 3370162faa..c09f70c4ac 100644
> --- a/linux/Config.in
> +++ b/linux/Config.in
> @@ -329,6 +329,9 @@ config BR2_LINUX_KERNEL_XZ
> config BR2_LINUX_KERNEL_ZSTD
> bool "zstd compression"
> +config BR2_LINUX_KERNEL_UNCOMPRESSED
> + bool "uncompressed"
It looks like this is a s390-specific option:
commit 89b5202e81df9f0f0f0a11cf8c78bc8bfdc52a21
Author: Vasily Gorbik <gor at linux.ibm.com>
Date: Wed Jun 13 00:00:25 2018 +0200
s390/decompressor: support uncompressed kernel
So it should depend on BR2_s390x.
> +
> endchoice
> config BR2_LINUX_KERNEL_IMAGE_TARGET_NAME
> diff --git a/linux/linux.mk b/linux/linux.mk
> index 5e4b319cf1..1457228eb9 100644
> --- a/linux/linux.mk
> +++ b/linux/linux.mk
> @@ -111,6 +111,7 @@ LINUX_COMPRESSION_OPT_$(BR2_LINUX_KERNEL_LZMA) += CONFIG_KERNEL_LZMA
> LINUX_COMPRESSION_OPT_$(BR2_LINUX_KERNEL_LZO) += CONFIG_KERNEL_LZO
> LINUX_COMPRESSION_OPT_$(BR2_LINUX_KERNEL_XZ) += CONFIG_KERNEL_XZ
> LINUX_COMPRESSION_OPT_$(BR2_LINUX_KERNEL_ZSTD) += CONFIG_KERNEL_ZSTD
> +LINUX_COMPRESSION_OPT_$(BR2_LINUX_KERNEL_UNCOMPRESSED) += CONFIG_KERNEL_UNCOMPRESSED
> ifeq ($(BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL),y)
> LINUX_DEPENDENCIES += host-openssl
> --
> 2.26.3
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list