diff options
| author | Masahisa Kojima <[email protected]> | 2021-05-14 09:53:36 +0900 |
|---|---|---|
| committer | Heinrich Schuchardt <[email protected]> | 2021-05-25 13:06:57 +0200 |
| commit | f6081a8a1e45e4864e36d83ccc236eef62478b1f (patch) | |
| tree | 3a8ebc1a543f78b0beedfc4a0ce3df5a742daadf /lib/efi_loader/Makefile | |
| parent | 6754e24b54da3229c37ae50526df0e79ba6e67fa (diff) | |
efi_loader: expose efi_image_parse() even if UEFI Secure Boot is disabled
This is preparation for PE/COFF measurement support.
PE/COFF image hash calculation is same in both
UEFI Secure Boot image verification and measurement in
measured boot. PE/COFF image parsing functions are
gathered into efi_image_loader.c, and exposed even if
UEFI Secure Boot is not enabled.
This commit also adds the EFI_SIGNATURE_SUPPORT option
to decide if efi_signature.c shall be compiled.
Signed-off-by: Masahisa Kojima <[email protected]>
Signed-off-by: Heinrich Schuchardt <[email protected]>
Diffstat (limited to 'lib/efi_loader/Makefile')
| -rw-r--r-- | lib/efi_loader/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_loader/Makefile b/lib/efi_loader/Makefile index 8bd343e258a..fd344cea29b 100644 --- a/lib/efi_loader/Makefile +++ b/lib/efi_loader/Makefile @@ -63,7 +63,7 @@ obj-$(CONFIG_GENERATE_SMBIOS_TABLE) += efi_smbios.o obj-$(CONFIG_EFI_RNG_PROTOCOL) += efi_rng.o obj-$(CONFIG_EFI_TCG2_PROTOCOL) += efi_tcg2.o obj-$(CONFIG_EFI_LOAD_FILE2_INITRD) += efi_load_initrd.o -obj-y += efi_signature.o +obj-$(CONFIG_EFI_SIGNATURE_SUPPORT) += efi_signature.o EFI_VAR_SEED_FILE := $(subst $\",,$(CONFIG_EFI_VAR_SEED_FILE)) $(obj)/efi_var_seed.o: $(srctree)/$(EFI_VAR_SEED_FILE) |
