diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-04-06 13:42:28 +0200 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-04-07 18:16:24 +0200 |
commit | 31b3b02acaa788e55270b3fb1205c8a82f0749f4 (patch) | |
tree | bdfa2cafc5858ea54d3b679f1f886b091db94ed4 /ArmVirtPkg/ArmVirtXen.dsc | |
parent | eeb69ffc28175edb46c9e654b4e753edd25fc6c4 (diff) | |
download | edk2-31b3b02acaa788e55270b3fb1205c8a82f0749f4.tar.gz edk2-31b3b02acaa788e55270b3fb1205c8a82f0749f4.tar.bz2 edk2-31b3b02acaa788e55270b3fb1205c8a82f0749f4.zip |
ArmVirtPkg: drop dependency on DxePcdLib for DXE Pcd.inf
The PcdDxe dynamic PCD driver is dispatched explicitly via an 'A PRIORI'
declaration in the platform DSC. Without that declaration, the DXE driver
can never be dispatched since it transitively (via DxePcdLib) depends on
protocols it produces itself. So use the NULL PcdLib explicitly only for
this driver.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'ArmVirtPkg/ArmVirtXen.dsc')
-rw-r--r-- | ArmVirtPkg/ArmVirtXen.dsc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ArmVirtPkg/ArmVirtXen.dsc b/ArmVirtPkg/ArmVirtXen.dsc index 43f093a63f..6a542f2447 100644 --- a/ArmVirtPkg/ArmVirtXen.dsc +++ b/ArmVirtPkg/ArmVirtXen.dsc @@ -178,7 +178,10 @@ <LibraryClasses>
NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
}
- MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
+ MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
+ <LibraryClasses>
+ PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
+ }
#
# Architectural Protocols
|