diff mbox

[edk2,5/7] DuetPkg: Remove use of IntelFrameworkModulePkg legacy libs

Message ID 20161201155326.21716-6-leif.lindholm@linaro.org
State Accepted
Commit 95a11f81c66520945045ce15757894c8a5015418
Headers show

Commit Message

Leif Lindholm Dec. 1, 2016, 3:53 p.m. UTC
LzmaCustomDecompressLib and PeiDxeDebugLibReportStatusCode were copied
from IntelFrameworkModulePkg to MdeModulePkg, but the originals were
kept for compatibility.

Since the libraries are identical, move DuetPkg to use the MdeModulePkg
versions instead.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>

---
 DuetPkg/DuetPkgIa32.dsc | 4 ++--
 DuetPkg/DuetPkgX64.dsc  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

-- 
2.10.2

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Comments

Ni, Ruiyu Dec. 2, 2016, 2:01 a.m. UTC | #1
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>


Regards,
Ray

>-----Original Message-----

>From: Leif Lindholm [mailto:leif.lindholm@linaro.org]

>Sent: Thursday, December 1, 2016 11:53 PM

>To: edk2-devel@lists.01.org

>Cc: Ni, Ruiyu <ruiyu.ni@intel.com>; Justen, Jordan L <jordan.l.justen@intel.com>; Andrew Fish <afish@apple.com>; Laszlo

>Ersek <lersek@redhat.com>; Kinney, Michael D <michael.d.kinney@intel.com>; Steele, Kelly <kelly.steele@intel.com>; Wei,

>David <david.wei@intel.com>; Guo, Mang <mang.guo@intel.com>; Ard Biesheuvel <ard.biesheuvel@linaro.org>

>Subject: [PATCH 5/7] DuetPkg: Remove use of IntelFrameworkModulePkg legacy libs

>

>LzmaCustomDecompressLib and PeiDxeDebugLibReportStatusCode were copied

>from IntelFrameworkModulePkg to MdeModulePkg, but the originals were

>kept for compatibility.

>

>Since the libraries are identical, move DuetPkg to use the MdeModulePkg

>versions instead.

>

>Contributed-under: TianoCore Contribution Agreement 1.0

>Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>

>---

> DuetPkg/DuetPkgIa32.dsc | 4 ++--

> DuetPkg/DuetPkgX64.dsc  | 4 ++--

> 2 files changed, 4 insertions(+), 4 deletions(-)

>

>diff --git a/DuetPkg/DuetPkgIa32.dsc b/DuetPkg/DuetPkgIa32.dsc

>index 3b59343..7dd963b 100644

>--- a/DuetPkg/DuetPkgIa32.dsc

>+++ b/DuetPkg/DuetPkgIa32.dsc

>@@ -178,7 +178,7 @@

>       gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F

>       gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000042

>     <LibraryClasses>

>-

>DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf

>+      DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf

>

>ReportStatusCodeLib|DuetPkg/Library/DxeCoreReportStatusCodeLibFromHob/DxeCoreReportStatusCodeLibFromHob.inf

>   }

>

>@@ -211,7 +211,7 @@

>   DuetPkg/EfiLdr/EfiLdr.inf {

>     <LibraryClasses>

>       DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf

>-      NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf

>+      NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf

>   }

>   IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {

>     <LibraryClasses>

>diff --git a/DuetPkg/DuetPkgX64.dsc b/DuetPkg/DuetPkgX64.dsc

>index c23354a..1b08a95 100644

>--- a/DuetPkg/DuetPkgX64.dsc

>+++ b/DuetPkg/DuetPkgX64.dsc

>@@ -179,7 +179,7 @@

>       gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F

>       gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000042

>     <LibraryClasses>

>-

>DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf

>+      DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf

>

>ReportStatusCodeLib|DuetPkg/Library/DxeCoreReportStatusCodeLibFromHob/DxeCoreReportStatusCodeLibFromHob.inf

>   }

>

>@@ -212,7 +212,7 @@

>   DuetPkg/EfiLdr/EfiLdr.inf {

>     <LibraryClasses>

>       DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf

>-      NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf

>+      NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf

>   }

>   IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {

>     <LibraryClasses>

>--

>2.10.2


_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
diff mbox

Patch

diff --git a/DuetPkg/DuetPkgIa32.dsc b/DuetPkg/DuetPkgIa32.dsc
index 3b59343..7dd963b 100644
--- a/DuetPkg/DuetPkgIa32.dsc
+++ b/DuetPkg/DuetPkgIa32.dsc
@@ -178,7 +178,7 @@ 
       gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
       gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000042
     <LibraryClasses>
-      DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
+      DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
       ReportStatusCodeLib|DuetPkg/Library/DxeCoreReportStatusCodeLibFromHob/DxeCoreReportStatusCodeLibFromHob.inf
   }
 
@@ -211,7 +211,7 @@ 
   DuetPkg/EfiLdr/EfiLdr.inf {
     <LibraryClasses>
       DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
-      NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
+      NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
   }
   IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
     <LibraryClasses>
diff --git a/DuetPkg/DuetPkgX64.dsc b/DuetPkg/DuetPkgX64.dsc
index c23354a..1b08a95 100644
--- a/DuetPkg/DuetPkgX64.dsc
+++ b/DuetPkg/DuetPkgX64.dsc
@@ -179,7 +179,7 @@ 
       gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
       gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000042
     <LibraryClasses>
-      DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
+      DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
       ReportStatusCodeLib|DuetPkg/Library/DxeCoreReportStatusCodeLibFromHob/DxeCoreReportStatusCodeLibFromHob.inf
   }
 
@@ -212,7 +212,7 @@ 
   DuetPkg/EfiLdr/EfiLdr.inf {
     <LibraryClasses>
       DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
-      NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
+      NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
   }
   IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
     <LibraryClasses>