render / rpms / edk2

Forked from rpms/edk2 3 months ago
Clone

Blame 0053-ArmVirtPkg-unify-HttpLib-resolutions-in-ArmVirt.dsc..patch

Paolo Bonzini 720bc3
From 77b702bfa4947caaa6b4b04730820d91bdf07b03 Mon Sep 17 00:00:00 2001
Paolo Bonzini 720bc3
From: Laszlo Ersek <lersek@redhat.com>
Paolo Bonzini 720bc3
Date: Fri, 13 Jul 2018 01:41:11 +0200
Paolo Bonzini 720bc3
Subject: [PATCH 1/2] ArmVirtPkg: unify HttpLib resolutions in
Paolo Bonzini 720bc3
 "ArmVirt.dsc.inc"
Paolo Bonzini 720bc3
Paolo Bonzini 720bc3
We already resolve a number of networking-related library classes in
Paolo Bonzini 720bc3
ArmVirt.dsc.inc; follow suit with HttpLib.
Paolo Bonzini 720bc3
Paolo Bonzini 720bc3
Cc: Julien Grall <julien.grall@linaro.org>
Paolo Bonzini 720bc3
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=1007
Paolo Bonzini 720bc3
Contributed-under: TianoCore Contribution Agreement 1.1
Paolo Bonzini 720bc3
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Paolo Bonzini 720bc3
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Paolo Bonzini 720bc3
---
Paolo Bonzini 720bc3
 ArmVirtPkg/ArmVirt.dsc.inc       | 3 +++
Paolo Bonzini 720bc3
 ArmVirtPkg/ArmVirtQemu.dsc       | 4 ----
Paolo Bonzini 720bc3
 ArmVirtPkg/ArmVirtQemuKernel.dsc | 4 ----
Paolo Bonzini 720bc3
 3 files changed, 3 insertions(+), 8 deletions(-)
Paolo Bonzini 720bc3
Paolo Bonzini 720bc3
diff --git a/ArmVirtPkg/ArmVirt.dsc.inc b/ArmVirtPkg/ArmVirt.dsc.inc
Paolo Bonzini 720bc3
index 7464ac70ed..76c400a5de 100644
Paolo Bonzini 720bc3
--- a/ArmVirtPkg/ArmVirt.dsc.inc
Paolo Bonzini 720bc3
+++ b/ArmVirtPkg/ArmVirt.dsc.inc
Paolo Bonzini 720bc3
@@ -80,6 +80,9 @@ [LibraryClasses.common]
Paolo Bonzini 720bc3
   DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
Paolo Bonzini 720bc3
   UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
Paolo Bonzini 720bc3
   IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
Paolo Bonzini 720bc3
+!if $(HTTP_BOOT_ENABLE) == TRUE
Paolo Bonzini 720bc3
+  HttpLib|MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.inf
Paolo Bonzini 720bc3
+!endif
Paolo Bonzini 720bc3
 
Paolo Bonzini 720bc3
   #
Paolo Bonzini 720bc3
   # It is not possible to prevent the ARM compiler from inserting calls to intrinsic functions.
Paolo Bonzini 720bc3
diff --git a/ArmVirtPkg/ArmVirtQemu.dsc b/ArmVirtPkg/ArmVirtQemu.dsc
Paolo Bonzini 720bc3
index 744d127a10..742df36285 100644
Paolo Bonzini 720bc3
--- a/ArmVirtPkg/ArmVirtQemu.dsc
Paolo Bonzini 720bc3
+++ b/ArmVirtPkg/ArmVirtQemu.dsc
Paolo Bonzini 720bc3
@@ -64,10 +64,6 @@ [LibraryClasses.common]
Paolo Bonzini 720bc3
   PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
Paolo Bonzini 720bc3
   PciHostBridgeLib|ArmVirtPkg/Library/FdtPciHostBridgeLib/FdtPciHostBridgeLib.inf
Paolo Bonzini 720bc3
 
Paolo Bonzini 720bc3
-!if $(HTTP_BOOT_ENABLE) == TRUE
Paolo Bonzini 720bc3
-  HttpLib|MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.inf
Paolo Bonzini 720bc3
-!endif
Paolo Bonzini 720bc3
-
Paolo Bonzini 720bc3
 [LibraryClasses.common.PEIM]
Paolo Bonzini 720bc3
   ArmVirtMemInfoLib|ArmVirtPkg/Library/QemuVirtMemInfoLib/QemuVirtMemInfoPeiLib.inf
Paolo Bonzini 720bc3
 
Paolo Bonzini 720bc3
diff --git a/ArmVirtPkg/ArmVirtQemuKernel.dsc b/ArmVirtPkg/ArmVirtQemuKernel.dsc
Paolo Bonzini 720bc3
index e59f53b728..4ae61ec635 100644
Paolo Bonzini 720bc3
--- a/ArmVirtPkg/ArmVirtQemuKernel.dsc
Paolo Bonzini 720bc3
+++ b/ArmVirtPkg/ArmVirtQemuKernel.dsc
Paolo Bonzini 720bc3
@@ -64,10 +64,6 @@ [LibraryClasses.common]
Paolo Bonzini 720bc3
   PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
Paolo Bonzini 720bc3
   PciHostBridgeLib|ArmVirtPkg/Library/FdtPciHostBridgeLib/FdtPciHostBridgeLib.inf
Paolo Bonzini 720bc3
 
Paolo Bonzini 720bc3
-!if $(HTTP_BOOT_ENABLE) == TRUE
Paolo Bonzini 720bc3
-  HttpLib|MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.inf
Paolo Bonzini 720bc3
-!endif
Paolo Bonzini 720bc3
-
Paolo Bonzini 720bc3
 [LibraryClasses.common.UEFI_DRIVER]
Paolo Bonzini 720bc3
   UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
Paolo Bonzini 720bc3
 
Paolo Bonzini 720bc3
-- 
Paolo Bonzini 720bc3
2.17.1
Paolo Bonzini 720bc3