BaseTools: Fix corner-cases of --hash feature
authorRodriguez, Christian <christian.rodriguez@intel.com>
Thu, 4 Apr 2019 16:04:21 +0000 (00:04 +0800)
committerFeng, Bob C <bob.c.feng@intel.com>
Wed, 10 Apr 2019 05:32:12 +0000 (13:32 +0800)
commit1b8caf0d87eacc66aba70e8698c7bd1518bb7be1
treee1f329bfd273e0d0c263b1f84c885339073c3013
parent2914e8153dd31a6594862ac6c0c7e7e460737991
BaseTools: Fix corner-cases of --hash feature

BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1680

Re-order hashing operations so we don't do redundant hashes.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Christian Rodriguez <christian.rodriguez@intel.com>
Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
BaseTools/Source/Python/AutoGen/AutoGen.py