diff options
| author | Michael D Kinney <michael.d.kinney@intel.com> | 2026-01-29 22:37:36 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2026-01-30 14:54:33 +0300 |
| commit | fe436902cc6070d0b04c1087c1ecb34bb211a23e (patch) | |
| tree | 6d37def2a5ef205faf3fb93dcbe35b8c829bd89a /MdeModulePkg/Library/PiDxeS3BootScriptLib/InternalBootScriptLib.h | |
| parent | c2915d24a1832138b5f680b31612bf6198adfb5f (diff) | |
| download | edk2-fe436902cc6070d0b04c1087c1ecb34bb211a23e.tar.xz | |
EmulatorPkg: Remove Hash2DxeCrypto if NETWORK_ENABLE=FALSE
Hash2DxeCrypto produces a protocol that is only used by
TcpDxe when NETWORK_ENABLE=TRUE. Hash2DxeCrypto is the
only module in EmulatorPkg platforms that depends on
BaseCryptLib and OpensslLib.
EmulatorPkg platform build times can be reduced when
NETWORK_ENABLE=FALSE by only including Hash2DxeCrypto.inf
if NETWORK_ENABLE=TRUE.
This reduces the time to build EmulatorPkg for CI and
local developer builds.
Add !if around PcdOpensslLibAssemblySourceStyleNasm settings
and CryptoPkg includes. When both NETWORK_ENABLE and
SECURE_BOOT_ENABLE are FALSE, the CryptoPkg libraries will
no longer be used at all. This means any references to
CryptoPkg PCDs must be removed when both NETWORK_ENABLE
and SECURE_BOOT_ENABLE are FALSE. Otherwise a build error
is generated.
Also remove use of NETWORK_SUPPORT from DSC/FDF file that
is never set and update build.sh to use default of
NETWORK_ENABLE=FALSE.
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/InternalBootScriptLib.h')
0 files changed, 0 insertions, 0 deletions
