aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2022-02-10 12:47:25 +0000
committerMichael Brown <mcb30@ipxe.org>2022-02-10 12:47:25 +0000
commit64113751c3729a2deaffbb1e1b6fd36e2c8bac6b (patch)
treeb4d29d8b22f7d885177cee10dbda8b2aecafeb98
parentbc35b24e3ebd2996b2484b7f9ceb96a3cf25823a (diff)
downloadipxe-64113751c3729a2deaffbb1e1b6fd36e2c8bac6b.zip
ipxe-64113751c3729a2deaffbb1e1b6fd36e2c8bac6b.tar.gz
ipxe-64113751c3729a2deaffbb1e1b6fd36e2c8bac6b.tar.bz2
[efi] Enable IMAGE_GZIP by default for AArch64
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>
-rw-r--r--src/config/defaults/efi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/config/defaults/efi.h b/src/config/defaults/efi.h
index 9ef34ab..efa8018 100644
--- a/src/config/defaults/efi.h
+++ b/src/config/defaults/efi.h
@@ -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 */