summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/config')
-rw-r--r--src/config/config_efi.c8
-rw-r--r--src/config/general.h1
2 files changed, 9 insertions, 0 deletions
diff --git a/src/config/config_efi.c b/src/config/config_efi.c
index 92678d12..29bd14cb 100644
--- a/src/config/config_efi.c
+++ b/src/config/config_efi.c
@@ -49,3 +49,11 @@ REQUIRE_OBJECT ( efi_fbcon );
#ifdef DOWNLOAD_PROTO_FILE
REQUIRE_OBJECT ( efi_local );
#endif
+
+/*
+ * Drag in EFI-specific commands
+ *
+ */
+#ifdef EFIMAP_CMD
+REQUIRE_OBJECT ( efimap_cmd );
+#endif
diff --git a/src/config/general.h b/src/config/general.h
index e883e072..6525834e 100644
--- a/src/config/general.h
+++ b/src/config/general.h
@@ -168,6 +168,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
//#define CERT_CMD /* Certificate management commands */
//#define IMAGE_MEM_CMD /* Read memory command */
#define IMAGE_ARCHIVE_CMD /* Archive image management commands */
+#define EFIMAP_CMD /* EFI Map command */
#define SHIM_CMD /* EFI shim command (or dummy command) */
/*