]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools: Should always define PCD TOKEN value as Zero for static PCD
authorYunhua Feng <fengyunhua@byosoft.com.cn>
Thu, 17 Dec 2020 01:09:51 +0000 (09:09 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 23 Dec 2020 02:33:36 +0000 (02:33 +0000)
commitd15d0d3d8aee1c7d5dab7b636601370061b32612
tree4069b6d6a9a2c8f8ba388acb9ee8803ca47fc7e5
parentab060128768b230543eca97c5d72a44f3e5ae2e5
BaseTools: Should always define PCD TOKEN value as Zero for static PCD

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3120
FixedAtBuild, PatchableInModule and FeatureFlag PCD don't use PCD TOKEN.
Their PCD TOKEN value can always be zero.
AutoGen.h will not be changed when static PCD is added or removed.
Dynamic PCD add or remove will still cause dynamic PCD token value be
changed.

Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Yuwei Chen <yuwei.chen@intel.com>
Signed-off-by: Yunhua Feng <fengyunhua@byosoft.com.cn>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
BaseTools/Source/Python/AutoGen/PlatformAutoGen.py