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 /EfiGuardPkg.dsc | |
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 'EfiGuardPkg.dsc')
-rw-r--r-- | EfiGuardPkg.dsc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/EfiGuardPkg.dsc b/EfiGuardPkg.dsc index ce7b6d0..d2bf50f 100644 --- a/EfiGuardPkg.dsc +++ b/EfiGuardPkg.dsc @@ -83,6 +83,9 @@ !if $(EAC_COMPAT_MODE) == 1 *_*_*_CC_FLAGS = -D EAC_COMPAT_MODE=1 !endif +!ifdef $(EFIGUARD_DRIVER_FILENAME) + *_*_*_CC_FLAGS = -D EFIGUARD_DRIVER_FILENAME=\"$(EFIGUARD_DRIVER_FILENAME)\" +!endif # Source files are UTF-8 without BOM. MSVC will convert other encodings to this without asking, so this is not really a choice MSFT:*_*_*_CC_FLAGS = /utf-8 |