diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2023-08-30 00:59:25 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2023-08-30 00:59:25 +0200 |
commit | 4438ffbe80061ae72717a8817b6bf0d663274afa (patch) | |
tree | dc6507c92570eeb7b026f8bbe6b6fb844b4c8fca /Application/Loader/Loader.c | |
parent | 857c3baece7eaf2193efcdf579efa6ebbad7c37e (diff) |
Support custom EfiGuard driver filenames by specifing `-D EFIGUARD_DRIVER_FILENAME="something.efi"`.
* useful for testing multiple EfiGuard builds
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'Application/Loader/Loader.c')
-rw-r--r-- | Application/Loader/Loader.c | 2 |
1 files changed, 2 insertions, 0 deletions
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, |