From: qhuang8 Date: Thu, 2 Aug 2007 10:01:41 +0000 (+0000) Subject: Add library dependency expressions for several library instances. X-Git-Tag: edk2-stable201903~22428 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=9f5fea4798b169bd104a43b72b65827341620086 Add library dependency expressions for several library instances. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3533 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/IntelFrameworkPkg/Library/DxeIoLibCpuIo/DxeIoLibCpuIo.inf b/IntelFrameworkPkg/Library/DxeIoLibCpuIo/DxeIoLibCpuIo.inf index d0ebd217b0..a1ccb3f47b 100644 --- a/IntelFrameworkPkg/Library/DxeIoLibCpuIo/DxeIoLibCpuIo.inf +++ b/IntelFrameworkPkg/Library/DxeIoLibCpuIo/DxeIoLibCpuIo.inf @@ -54,3 +54,6 @@ [Protocols] gEfiCpuIoProtocolGuid # PROTOCOL ALWAYS_CONSUMED gEfiPciRootBridgeIoProtocolGuid # PROTOCOL ALWAYS_CONSUMED + +[Depex] + gEfiCpuIoProtocolGuid OR gEfiPciRootBridgeIoProtocolGuid \ No newline at end of file diff --git a/IntelFrameworkPkg/Library/PeiSmbusLibSmbusPpi/PeiSmbusLibSmbusPpi.inf b/IntelFrameworkPkg/Library/PeiSmbusLibSmbusPpi/PeiSmbusLibSmbusPpi.inf index e7a04910fc..f6695a6c2c 100644 --- a/IntelFrameworkPkg/Library/PeiSmbusLibSmbusPpi/PeiSmbusLibSmbusPpi.inf +++ b/IntelFrameworkPkg/Library/PeiSmbusLibSmbusPpi/PeiSmbusLibSmbusPpi.inf @@ -51,3 +51,5 @@ [Ppis] gEfiPeiSmbusPpiGuid # PPI ALWAYS_CONSUMED +[Depex] + gEfiPeiSmbusPpiGuid diff --git a/MdePkg/Library/DxePcdLib/DxePcdLib.inf b/MdePkg/Library/DxePcdLib/DxePcdLib.inf index acf72971c0..04c2b6e6e5 100644 --- a/MdePkg/Library/DxePcdLib/DxePcdLib.inf +++ b/MdePkg/Library/DxePcdLib/DxePcdLib.inf @@ -49,3 +49,6 @@ [Protocols] gPcdProtocolGuid # PROTOCOL ALWAYS_CONSUMED + +[Depex] + gPcdProtocolGuid \ No newline at end of file diff --git a/MdePkg/Library/DxeSmbusLib/DxeSmbusLib.inf b/MdePkg/Library/DxeSmbusLib/DxeSmbusLib.inf index 700670afad..723f4b957d 100644 --- a/MdePkg/Library/DxeSmbusLib/DxeSmbusLib.inf +++ b/MdePkg/Library/DxeSmbusLib/DxeSmbusLib.inf @@ -48,3 +48,5 @@ [Protocols] gEfiSmbusHcProtocolGuid # PROTOCOL ALWAYS_CONSUMED +[Depex] + gEfiSmbusHcProtocolGuid \ No newline at end of file diff --git a/MdePkg/Library/PeiIoLibCpuIo/PeiIoLibCpuIo.inf b/MdePkg/Library/PeiIoLibCpuIo/PeiIoLibCpuIo.inf index 30a0342ccd..6cd301e22b 100644 --- a/MdePkg/Library/PeiIoLibCpuIo/PeiIoLibCpuIo.inf +++ b/MdePkg/Library/PeiIoLibCpuIo/PeiIoLibCpuIo.inf @@ -45,3 +45,5 @@ BaseLib DebugLib +[Depex] + gEfiPeiCpuIoPpiInstalledGuid diff --git a/MdePkg/Library/PeiPcdLib/PeiPcdLib.inf b/MdePkg/Library/PeiPcdLib/PeiPcdLib.inf index e2c06d9d9a..dc9ca4c169 100644 --- a/MdePkg/Library/PeiPcdLib/PeiPcdLib.inf +++ b/MdePkg/Library/PeiPcdLib/PeiPcdLib.inf @@ -48,3 +48,5 @@ [Ppis] gPcdPpiGuid # PPI ALWAYS_CONSUMED +[Depex] + gPcdPpiGuid \ No newline at end of file diff --git a/MdePkg/Library/PeiSmbusLibSmbus2Ppi/PeiSmbusLib.inf b/MdePkg/Library/PeiSmbusLibSmbus2Ppi/PeiSmbusLib.inf index 9dc2e1d486..1e0a9f225e 100644 --- a/MdePkg/Library/PeiSmbusLibSmbus2Ppi/PeiSmbusLib.inf +++ b/MdePkg/Library/PeiSmbusLibSmbus2Ppi/PeiSmbusLib.inf @@ -47,3 +47,5 @@ [Ppis] gEfiPeiSmbus2PpiGuid # PPI ALWAYS_CONSUMED +[Depex] + gEfiPeiSmbus2PpiGuid diff --git a/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf b/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf index cd9676694a..9785ca2be3 100644 --- a/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf +++ b/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf @@ -51,3 +51,6 @@ gEfiDevicePathProtocolGuid # PROTOCOL ALWAYS_CONSUMED gEfiDevicePathUtilitiesProtocolGuid # PROTOCOL ALWAYS_CONSUMED + +[Depex] + gEfiDevicePathUtilitiesProtocolGuid