From 4438ffbe80061ae72717a8817b6bf0d663274afa Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Wed, 30 Aug 2023 00:59:25 +0200 Subject: Support custom EfiGuard driver filenames by specifing `-D EFIGUARD_DRIVER_FILENAME="something.efi"`. * useful for testing multiple EfiGuard builds Signed-off-by: Toni Uhlig --- Application/Loader/Loader.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Application/Loader/Loader.c') diff --git a/Application/Loader/Loader.c b/Application/Loader/Loader.c index 42bdfb1..665b2fe 100644 --- a/Application/Loader/Loader.c +++ b/Application/Loader/Loader.c @@ -27,7 +27,9 @@ // // Paths to the driver to try // +#ifndef EFIGUARD_DRIVER_FILENAME #define EFIGUARD_DRIVER_FILENAME L"EfiGuardDxe.efi" +#endif STATIC CHAR16* mDriverPaths[] = { L"\\EFI\\Boot\\" EFIGUARD_DRIVER_FILENAME, L"\\EFI\\" EFIGUARD_DRIVER_FILENAME, -- cgit v1.2.3