]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools: Convert string value of void* pcd in command line to array.
authorZhaozh1x <zhiqiangx.zhao@intel.com>
Wed, 26 Sep 2018 09:53:49 +0000 (17:53 +0800)
committerLiming Gao <liming.gao@intel.com>
Tue, 16 Oct 2018 00:59:50 +0000 (08:59 +0800)
commita96133d2d16e9c1fc172854f7f2aa7b0d4e51746
tree49484da430c59e84176e614964b81a049d1475ad
parent0caf9039132d5530b2a33d1c70b734e57b4edd3b
BaseTools: Convert string value of void* pcd in command line to array.

For void* type pcd in command line, if its value is string, then
convert the string value to array format. For example,
build --pcd gUefiOvmfPkgTokenSpaceGuid.PcdTest="c",
convert the pcd value from "c" to "{0x63,0x00}".

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: ZhiqiangX Zhao <zhiqiangx.zhao@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Cc: Bob Feng <bob.c.feng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Source/Python/Workspace/DscBuildData.py