diff options
author | Laszlo Ersek <lersek@redhat.com> | 2018-04-11 23:07:59 +0200 |
---|---|---|
committer | Laszlo Ersek <lersek@redhat.com> | 2018-04-12 21:24:42 +0200 |
commit | bf453d581ecff2a73128873fd714a07508e2ab11 (patch) | |
tree | 764552080977af4eda61b9471cb1230c99ac85d4 /ArmVirtPkg/ArmVirtQemuKernel.dsc | |
parent | 8f4833bb305453fb30b886fee96888c4bdedbaa7 (diff) | |
download | edk2-bf453d581ecff2a73128873fd714a07508e2ab11.zip edk2-bf453d581ecff2a73128873fd714a07508e2ab11.tar.gz edk2-bf453d581ecff2a73128873fd714a07508e2ab11.tar.bz2 |
ArmVirtPkg/ArmVirtQemu: hook NvVarStoreFormattedLib into VariableRuntimeDxe
In spite of both ArmVirtQemu and ArmVirtQemuKernel formatting the variable
store template at build time, link NvVarStoreFormattedLib into
VariableRuntimeDxe via NULL class resolution on both platforms. This lets
us test the depexes implemented in the previous patches.
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Leif Lindholm <leif.lindholm@linaro.org>
Cc: Steve Capper <steve.capper@linaro.org>
Cc: Supreeth Venkatesh <Supreeth.Venkatesh@arm.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Diffstat (limited to 'ArmVirtPkg/ArmVirtQemuKernel.dsc')
-rw-r--r-- | ArmVirtPkg/ArmVirtQemuKernel.dsc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ArmVirtPkg/ArmVirtQemuKernel.dsc b/ArmVirtPkg/ArmVirtQemuKernel.dsc index 7d9a919..2368ba2 100644 --- a/ArmVirtPkg/ArmVirtQemuKernel.dsc +++ b/ArmVirtPkg/ArmVirtQemuKernel.dsc @@ -246,6 +246,7 @@ MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
<LibraryClasses>
NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
+ NULL|EmbeddedPkg/Library/NvVarStoreFormattedLib/NvVarStoreFormattedLib.inf
# don't use unaligned CopyMem () on the UEFI varstore NOR flash region
BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
}
|