sdm845Pkg: sdm845Pkg.dsc: set firmware version

Signed-off-by: BigfootACA <bigfoot@classfun.cn>
This commit is contained in:
BigfootACA 2021-10-23 15:35:37 +08:00
parent d025167c27
commit 825ee91da0
2 changed files with 2 additions and 1 deletions

View File

@ -74,6 +74,7 @@ function _build(){
-t GCC5 \
-p "sdm845Pkg/Devices/${DEVICE}.dsc" \
-b "${_MODE}" \
-D FIRMWARE_VER="${GITCOMMIT}" \
||return "$?"
gzip -c \
< "workspace/Build/sdm845Pkg/${_MODE}_GCC5/FV/SDM845PKG_UEFI.fd" \

View File

@ -98,7 +98,7 @@
[PcdsFixedAtBuild.common]
gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|4
gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|L"Alpha"
gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|L"$(FIRMWARE_VER)"
gArmTokenSpaceGuid.PcdSystemMemoryBase|0x80000000