aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/config/config.c9
-rw-r--r--src/config/config_archive.c7
-rw-r--r--src/config/general.h6
3 files changed, 11 insertions, 11 deletions
diff --git a/src/config/config.c b/src/config/config.c
index dd1fceb92..a81866132 100644
--- a/src/config/config.c
+++ b/src/config/config.c
@@ -182,6 +182,12 @@ REQUIRE_OBJECT ( efi_image );
#ifdef IMAGE_SDI
REQUIRE_OBJECT ( sdi );
#endif
+#ifdef IMAGE_ZLIB
+REQUIRE_OBJECT ( zlib );
+#endif
+#ifdef IMAGE_GZIP
+REQUIRE_OBJECT ( gzip );
+#endif
/*
* Drag in all requested commands
@@ -284,9 +290,6 @@ REQUIRE_OBJECT ( cert_cmd );
#ifdef IMAGE_MEM_CMD
REQUIRE_OBJECT ( image_mem_cmd );
#endif
-#ifdef IMAGE_ARCHIVE_CMD
-REQUIRE_OBJECT ( image_archive_cmd );
-#endif
/*
* Drag in miscellaneous objects
diff --git a/src/config/config_archive.c b/src/config/config_archive.c
index 84f21b956..746fc7e44 100644
--- a/src/config/config_archive.c
+++ b/src/config/config_archive.c
@@ -31,9 +31,6 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
PROVIDE_REQUIRING_SYMBOL();
-#ifdef IMAGE_ZLIB
-REQUIRE_OBJECT ( zlib );
-#endif
-#ifdef IMAGE_GZIP
-REQUIRE_OBJECT ( gzip );
+#ifdef IMAGE_ARCHIVE_CMD
+REQUIRE_OBJECT ( image_archive_cmd );
#endif
diff --git a/src/config/general.h b/src/config/general.h
index fcfbaf5e9..2d15f500a 100644
--- a/src/config/general.h
+++ b/src/config/general.h
@@ -117,8 +117,8 @@ 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 */
-#define IMAGE_GZIP /* GZIP image support */
+//#define IMAGE_ZLIB /* ZLIB image support */
+//#define IMAGE_GZIP /* GZIP image support */
/*
* Command-line commands to include
@@ -158,7 +158,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
//#define NTP_CMD /* NTP commands */
//#define CERT_CMD /* Certificate management commands */
//#define IMAGE_MEM_CMD /* Read memory command */
-//#define IMAGE_ARCHIVE_CMD /* Archive image management commands */
+#define IMAGE_ARCHIVE_CMD /* Archive image management commands */
/*
* ROM-specific options