diff options
author | Rodriguez, Christian <christian.rodriguez@intel.com> | 2019-05-30 00:26:49 +0800 |
---|---|---|
committer | Feng, Bob C <bob.c.feng@intel.com> | 2019-06-10 19:48:51 +0800 |
commit | 48b0bf6476a215a8e399af3c5905c17f94f2c63d (patch) | |
tree | 6e47f55d1dd6aeacd8864c9bd668d98f09a74703 /BaseTools/Source/Python/Common | |
parent | 1fa6699e6cd4ff7c8f830958f8c26d1eb368a4a7 (diff) | |
download | edk2-48b0bf6476a215a8e399af3c5905c17f94f2c63d.tar.gz edk2-48b0bf6476a215a8e399af3c5905c17f94f2c63d.tar.bz2 edk2-48b0bf6476a215a8e399af3c5905c17f94f2c63d.zip |
BaseTools: Refactor hash tracking after checking for Sources section
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1804
After adding a check to see if [Sources] section lists all the header
type files of a module, track module and library hashes for --hash
feature. If above check is not in compilance for a library or module,
force hash invalidation on that library or module.
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>
Diffstat (limited to 'BaseTools/Source/Python/Common')
-rw-r--r-- | BaseTools/Source/Python/Common/GlobalData.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/Common/GlobalData.py b/BaseTools/Source/Python/Common/GlobalData.py index 95e28a988f..bd45a43728 100644 --- a/BaseTools/Source/Python/Common/GlobalData.py +++ b/BaseTools/Source/Python/Common/GlobalData.py @@ -110,7 +110,8 @@ gEnableGenfdsMultiThread = False gSikpAutoGenCache = set()
# Dictionary for tracking Module build status as success or failure
-# False -> Fail : True -> Success
+# Top Dict: Key: Arch Type Value: Dictionary
+# Second Dict: Key: AutoGen Obj Value: 'SUCCESS'\'FAIL'\'FAIL_METAFILE'
gModuleBuildTracking = dict()
# Dictionary of booleans that dictate whether a module or
|