summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorSimon Rettberg2021-10-05 16:07:52 +0200
committerSimon Rettberg2021-10-05 16:07:52 +0200
commit33d46d7beb452ce022709e1e2c302777cbab7f46 (patch)
tree2557c318c869b362317b6dd6b7a3d7d3fe4069b6 /src/config
parent[efi] local: Allow loading from any volume by using file://*/... (diff)
downloadipxe-33d46d7beb452ce022709e1e2c302777cbab7f46.tar.gz
ipxe-33d46d7beb452ce022709e1e2c302777cbab7f46.tar.xz
ipxe-33d46d7beb452ce022709e1e2c302777cbab7f46.zip
Local UEFI disk boot support
By Aaron Young: https://lists.ipxe.org/pipermail/ipxe-devel/2019-February/006504.html
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 92678d12d..29bd14cb5 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 2d15f500a..3761b63ca 100644
--- a/src/config/general.h
+++ b/src/config/general.h
@@ -159,6 +159,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 */
/*
* ROM-specific options