]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/QemuFwCfgDxeLib: allow UEFI_DRIVER modules
authorLaszlo Ersek <lersek@redhat.com>
Fri, 24 Apr 2020 07:53:50 +0000 (09:53 +0200)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 28 Apr 2020 22:37:35 +0000 (22:37 +0000)
commit237773324887503a33a8fcf9b7b29dc26a6f942a
treed2294cf865c5f93c3841d6c80f7d43784849ac96
parentb3c1bc1cfa2f45849429f582808c3384f4273229
OvmfPkg/QemuFwCfgDxeLib: allow UEFI_DRIVER modules

We don't distribute UEFI_DRIVER modules stand-alone that were built as
part of an OVMF platform. OVMF's UEFI_DRIVERs are allowed to inherit
platform dependencies.

By enabling UEFI_DRIVERs to consume QemuFwCfgDxeLib, we can hook
fw_cfg-based NULL class libraries into UEFI drivers, e.g. in order to set
dynamic PCDs.

Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Per Sundstrom <per_sundstrom@yahoo.com>
Cc: Philippe Mathieu-Daudé <philmd@redhat.com>
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2681
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20200424075353.8489-5-lersek@redhat.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgDxeLib.inf