summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/config')
-rw-r--r--src/config/config_efi.c4
-rw-r--r--src/config/defaults/efi.h2
-rw-r--r--src/config/general.h1
3 files changed, 7 insertions, 0 deletions
diff --git a/src/config/config_efi.c b/src/config/config_efi.c
index 1f73dad4..92678d12 100644
--- a/src/config/config_efi.c
+++ b/src/config/config_efi.c
@@ -21,6 +21,7 @@
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+#include <config/general.h>
#include <config/console.h>
/** @file
@@ -45,3 +46,6 @@ REQUIRE_OBJECT ( efi_fbcon );
#ifdef CONSOLE_FRAMEBUFFER
REQUIRE_OBJECT ( efi_fbcon );
#endif
+#ifdef DOWNLOAD_PROTO_FILE
+REQUIRE_OBJECT ( efi_local );
+#endif
diff --git a/src/config/defaults/efi.h b/src/config/defaults/efi.h
index 24b93a02..ea9c31e2 100644
--- a/src/config/defaults/efi.h
+++ b/src/config/defaults/efi.h
@@ -24,6 +24,8 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
#define TIME_EFI
#define REBOOT_EFI
+#define DOWNLOAD_PROTO_FILE /* Local filesystem access */
+
#define IMAGE_EFI /* EFI image support */
#define IMAGE_SCRIPT /* iPXE script image support */
diff --git a/src/config/general.h b/src/config/general.h
index e9b781fb..675c11e0 100644
--- a/src/config/general.h
+++ b/src/config/general.h
@@ -57,6 +57,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
#undef DOWNLOAD_PROTO_FTP /* File Transfer Protocol */
#undef DOWNLOAD_PROTO_SLAM /* Scalable Local Area Multicast */
#undef DOWNLOAD_PROTO_NFS /* Network File System Protocol */
+//#undef DOWNLOAD_PROTO_FILE /* Local filesystem access */
/*
* SAN boot protocols