aboutsummaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2021-05-06 13:17:35 +0100
committerMichael Brown <mcb30@ipxe.org>2021-05-08 15:34:19 +0100
commitd093683d93ccfac4c76e72264ec3b0d8f0017b92 (patch)
tree7e752e4ffae9a5ef8ff0341e33d69da2acc693a1 /src/config
parent5c9c8d2b9b78cf4e1f256fe6874855c1aee458f2 (diff)
downloadipxe-d093683d93ccfac4c76e72264ec3b0d8f0017b92.tar.gz
[zlib] Add support for zlib archive images
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config')
-rw-r--r--src/config/config_archive.c4
-rw-r--r--src/config/general.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/src/config/config_archive.c b/src/config/config_archive.c
index 3644b5de8..eceebaecb 100644
--- a/src/config/config_archive.c
+++ b/src/config/config_archive.c
@@ -30,3 +30,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
*/
PROVIDE_REQUIRING_SYMBOL();
+
+#ifdef IMAGE_ZLIB
+REQUIRE_OBJECT ( zlib );
+#endif
diff --git a/src/config/general.h b/src/config/general.h
index fd317be96..d6653795e 100644
--- a/src/config/general.h
+++ b/src/config/general.h
@@ -117,6 +117,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
#define IMAGE_PNG /* PNG image support */
#define IMAGE_DER /* DER image support */
#define IMAGE_PEM /* PEM image support */
+#define IMAGE_ZLIB /* ZLIB image support */
/*
* Command-line commands to include