From 33d46d7beb452ce022709e1e2c302777cbab7f46 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 5 Oct 2021 16:07:52 +0200 Subject: Local UEFI disk boot support By Aaron Young: https://lists.ipxe.org/pipermail/ipxe-devel/2019-February/006504.html --- src/config/config_efi.c | 8 ++++++++ src/config/general.h | 1 + 2 files changed, 9 insertions(+) (limited to 'src/config') 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 -- cgit v1.2.3-55-g7522