| #
3c5ca68b |
| 17-Nov-2025 |
Warner Losh <imp@FreeBSD.org> |
stand: Fix secureboot build
Make libesecureboot build, enabled when WITH_BEARSSL=y WITH_LOADER_EFI_SECUREBOOT=y.
Copy EDK2 files related to secure boot to sys/contrib/edk2 and delete duplicates und
stand: Fix secureboot build
Make libesecureboot build, enabled when WITH_BEARSSL=y WITH_LOADER_EFI_SECUREBOOT=y.
Copy EDK2 files related to secure boot to sys/contrib/edk2 and delete duplicates under libsecreboot/efi/include. Adjust efi_variables.c to build in the new environment.
Undefine MIN and MAX before include sys/param.h in libsecureboot.h. I'm not sure that sys/param.h is needed here, but either the param.h or the Base.h definitions are fine.
Fix include paths to reflect the new way.
Fixes: 43b8edb32051 Sponsored by: Netflix
show more ...
|