ArmVirtXen.dsc allows setting the firmware version string in gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString via FIRMWARE_VER variable conveniently on the build command line.
These two patches add this behavior to all .dsc files in ArmVirtPkg and OvmfPkg. PR: https://github.com/tianocore/edk2/pull/4268 v3: - Introduce common include file for OVMF .dsc files v2: Address comments by Sami and Gerd: - Only set PCD if FIRMWARE_VER is defined - ArmVirt: move logic to ArmVirt.dsc.inc https://edk2.groups.io/g/devel/message/95208 v1: https://edk2.groups.io/g/devel/message/95057 Oliver Steffen (2): OvmfPkg: allow setting Firmware Version from build command line ArmVirtPkg: allow setting Firmware Version from build command line ArmVirtPkg/ArmVirt.dsc.inc | 4 ++++ OvmfPkg/Include/Dsc/OvmfPkg.dsc.inc | 9 +++++++++ ArmVirtPkg/ArmVirtXen.dsc | 1 - OvmfPkg/OvmfPkgIa32.dsc | 3 +++ OvmfPkg/OvmfPkgIa32X64.dsc | 3 +++ OvmfPkg/OvmfPkgX64.dsc | 5 ++++- OvmfPkg/OvmfXen.dsc | 3 +++ 7 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 OvmfPkg/Include/Dsc/OvmfPkg.dsc.inc -- 2.40.0 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#102952): https://edk2.groups.io/g/devel/message/102952 Mute This Topic: https://groups.io/mt/98243016/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-