]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[efi] Enable IMAGE_GZIP by default for AArch64 586/head
authorMichael Brown <mcb30@ipxe.org>
Thu, 10 Feb 2022 12:47:25 +0000 (12:47 +0000)
committerMichael Brown <mcb30@ipxe.org>
Thu, 10 Feb 2022 12:47:25 +0000 (12:47 +0000)
AArch64 kernels tend to be distributed as gzip compressed images.
Enable IMAGE_GZIP by default for AArch64 to avoid the need for
uncompressed images to be provided.

Originally-implemented-by: Alessandro Di Stefano <aleskandro@redhat.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/config/defaults/efi.h

index 9ef34ab622603706da092e63922d8ced72805435..efa801819bd29897310733b6c6743e6e345781fd 100644 (file)
@@ -58,4 +58,8 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
 #define NAP_EFIARM
 #endif
 
+#if defined ( __aarch64__ )
+#define        IMAGE_GZIP              /* GZIP image support */
+#endif
+
 #endif /* CONFIG_DEFAULTS_EFI_H */