diff --git a/UefiPayloadPkg/UefiPayloadPkg.dsc b/UefiPayloadPkg/UefiPayloadPkg.dsc index ec32f18b9bb8..839a5f8a9a9a 100644 --- a/UefiPayloadPkg/UefiPayloadPkg.dsc +++ b/UefiPayloadPkg/UefiPayloadPkg.dsc @@ -855,6 +855,7 @@ } !endif +!if $(NETWORK_DRIVER_ENABLE) == TRUE # # Rng Protocol producer # @@ -864,7 +865,7 @@ # Hash2 Protocol producer # SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.inf - +!endif !if $(SECURE_BOOT_ENABLE) == TRUE