]> xenbits.xensource.com Git - ovmf.git/commit
OvmfPkg: allow setting Firmware Version from build command line
authorOliver Steffen <osteffen@redhat.com>
Fri, 14 Apr 2023 08:33:22 +0000 (10:33 +0200)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 4 May 2023 14:26:58 +0000 (14:26 +0000)
commit8d59bbf47ea09bbf599bcc1da5e9923a456c0a52
tree008b4e4a6014416e580359bdd0ac8b2284c3141d
parent5de2a54b2cfdb9cb3a1a564c85e99aa6b06b5dba
OvmfPkg: allow setting Firmware Version from build command line

Initialize gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString with
with the value of the variable "FIRMWARE_VER", if is is defined. Applies
to all flavors of OvmfPkg.

This behavior is already implemented in ArmVirtXen.dsc. It allows
specifying the firmware version string on the build command line with
-D FIRMARE_VER=...

Introduce a common include file to be used in the .dsc files for the
different OVMF flavors, and add the changes there.  (ArmVirtPkg already
has such a file).

Signed-off-by: Oliver Steffen <osteffen@redhat.com>
OvmfPkg/Include/Dsc/OvmfPkg.dsc.inc [new file with mode: 0644]
OvmfPkg/OvmfPkgIa32.dsc
OvmfPkg/OvmfPkgIa32X64.dsc
OvmfPkg/OvmfPkgX64.dsc
OvmfPkg/OvmfXen.dsc