summaryrefslogtreecommitdiffstats
path: root/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc
diff options
context:
space:
mode:
authorLeif Lindholm <leif.lindholm@linaro.org>2014-10-14 14:46:32 +0000
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2014-10-14 14:46:32 +0000
commit0b7c06072eec16b6ac0707d036d865a87f78658a (patch)
tree5a8994bf83228488ee41e52d86a2356d133dfac7 /ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc
parent5e574a01ca816e1e1dc0863c61b92d7638a6d5fd (diff)
downloadedk2-0b7c06072eec16b6ac0707d036d865a87f78658a.tar.gz
edk2-0b7c06072eec16b6ac0707d036d865a87f78658a.tar.bz2
edk2-0b7c06072eec16b6ac0707d036d865a87f78658a.zip
ArmPlatformPkg/ArmVExpressPkg: Enable specifying firmware version string on build
If FIRMWARE_VER is defined on the build command line, set gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString based on it. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org> Reviewed-By: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16212 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc')
-rw-r--r--ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc b/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc
index fb2efd5f54..c97aa58992 100644
--- a/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc
+++ b/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc
@@ -256,6 +256,9 @@
[PcdsFixedAtBuild.common]
gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM Versatile Express"
+!ifdef $(FIRMWARE_VER)
+ gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|L"$(FIRMWARE_VER)"
+!endif
gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"VExpress"
gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000