From 261ecec8426b1d3ec3b0406e1afb77b4d3f112a5 Mon Sep 17 00:00:00 2001 From: gustavo16a <106705441+gustavo16a@users.noreply.github.com> Date: Mon, 21 Oct 2024 17:23:57 +0200 Subject: [PATCH] RngDxe and Hash2DxeCryptoare Added to UefiPayloadPkg only when Network Drivers are enabled --- UefiPayloadPkg/UefiPayloadPkg.dsc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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