Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: fe436902cc6070d0b04c1087c1ecb34bb211a23e
      
https://github.com/tianocore/edk2/commit/fe436902cc6070d0b04c1087c1ecb34bb211a23e
  Author: Michael D Kinney <[email protected]>
  Date:   2026-01-30 (Fri, 30 Jan 2026)

  Changed paths:
    M EmulatorPkg/EmulatorPkg.dsc
    M EmulatorPkg/EmulatorPkg.fdf
    M EmulatorPkg/build.sh

  Log Message:
  -----------
  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 <[email protected]>



To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to