Loading arch/arm64/Kconfig +26 −0 Original line number Diff line number Diff line Loading @@ -1591,6 +1591,32 @@ config DMI endmenu choice prompt "Kernel compression method" default BUILD_ARM64_KERNEL_COMPRESSION_GZIP help Allows choice between gzip compressed or uncompressed kernel image. Decision is based on whether the bootloader can handle (un)compressed kernel images. Most BLs are capable of decomprssing kernel images and this is the default choice. config BUILD_ARM64_KERNEL_COMPRESSION_GZIP bool "Build compressed kernel image" help Build a kernel image using gzip compression. gzip is based on the DEFLATE algorithm. Check if your bootloader is capable of decompressing images. config BUILD_ARM64_UNCOMPRESSED_KERNEL bool "Build uncompressed kernel image" help Build a kernel image without compression. An uncompressed kernel image may improve performance in certain situations. endchoice config SYSVIPC_COMPAT def_bool y depends on COMPAT && SYSVIPC Loading arch/arm64/Makefile +8 −3 Original line number Diff line number Diff line Loading @@ -135,12 +135,17 @@ core-$(CONFIG_CRYPTO) += arch/arm64/crypto/ libs-y := arch/arm64/lib/ $(libs-y) core-$(CONFIG_EFI_STUB) += $(objtree)/drivers/firmware/efi/libstub/lib.a ifeq ($(CONFIG_BUILD_ARM64_KERNEL_COMPRESSION_GZIP),y) KBUILD_TARGET := Image.gz else KBUILD_TARGET := Image endif # Default target when executing plain make boot := arch/arm64/boot KBUILD_IMAGE := $(boot)/Image.gz all: Image.gz KBUILD_IMAGE := $(boot)/$(KBUILD_TARGET) all: $(KBUILD_TARGET) Image: vmlinux $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ Loading Loading
arch/arm64/Kconfig +26 −0 Original line number Diff line number Diff line Loading @@ -1591,6 +1591,32 @@ config DMI endmenu choice prompt "Kernel compression method" default BUILD_ARM64_KERNEL_COMPRESSION_GZIP help Allows choice between gzip compressed or uncompressed kernel image. Decision is based on whether the bootloader can handle (un)compressed kernel images. Most BLs are capable of decomprssing kernel images and this is the default choice. config BUILD_ARM64_KERNEL_COMPRESSION_GZIP bool "Build compressed kernel image" help Build a kernel image using gzip compression. gzip is based on the DEFLATE algorithm. Check if your bootloader is capable of decompressing images. config BUILD_ARM64_UNCOMPRESSED_KERNEL bool "Build uncompressed kernel image" help Build a kernel image without compression. An uncompressed kernel image may improve performance in certain situations. endchoice config SYSVIPC_COMPAT def_bool y depends on COMPAT && SYSVIPC Loading
arch/arm64/Makefile +8 −3 Original line number Diff line number Diff line Loading @@ -135,12 +135,17 @@ core-$(CONFIG_CRYPTO) += arch/arm64/crypto/ libs-y := arch/arm64/lib/ $(libs-y) core-$(CONFIG_EFI_STUB) += $(objtree)/drivers/firmware/efi/libstub/lib.a ifeq ($(CONFIG_BUILD_ARM64_KERNEL_COMPRESSION_GZIP),y) KBUILD_TARGET := Image.gz else KBUILD_TARGET := Image endif # Default target when executing plain make boot := arch/arm64/boot KBUILD_IMAGE := $(boot)/Image.gz all: Image.gz KBUILD_IMAGE := $(boot)/$(KBUILD_TARGET) all: $(KBUILD_TARGET) Image: vmlinux $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ Loading