]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Source/Python/AutoGen/AutoGen.py
BaseTools: Fix --hash Package and Module hash value.
authorLin, Derek <derek.lin2@hpe.com>
Wed, 9 May 2018 09:03:23 +0000 (17:03 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Wed, 16 May 2018 07:21:57 +0000 (15:21 +0800)
commit3f34e36d04a8de4992a696f738643b5a11261469
tree6e575e972a57c9962cdcdbb092b3ab257c7844e9
parent63c76537c652eb5a84360ee043c5f7b63728a622
BaseTools: Fix --hash Package and Module hash value.

The order of List enumeration is arbitrary.
Need to be sorted while calculating Package/Module hash, otherwise it
generate different hash value even nothing changes.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Derek Lin <derek.lin2@hpe.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
BaseTools/Source/Python/AutoGen/AutoGen.py