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

ArmVirtXen.dsc initializes
gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString with with the
value of the variable "FIRMWARE_VER".

Move that functionality to ArmVirt.dsc.inc to make it available to all
ArmVirt packages, and make it conditional: only set the PCD string if
FIRMWARE_VER is actually defined.

This allows specifying the firmware version string on the build command
line with -D FIRMARE_VER=...

Signed-off-by: Oliver Steffen <osteffen@redhat.com>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
ArmVirtPkg/ArmVirt.dsc.inc
ArmVirtPkg/ArmVirtXen.dsc