summaryrefslogtreecommitdiffstats
path: root/BaseTools
diff options
context:
space:
mode:
authorBob Feng <bob.c.feng@intel.com>2020-09-23 20:36:58 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-09-25 02:27:35 +0000
commit3a7a6761143a4840faea0bd84daada3ac0f1bd22 (patch)
tree5b67591810f351e76b0faddab7a21f2cfd46bde5 /BaseTools
parent9641a7f975ff5a18f83a8c899626342e15409c48 (diff)
downloadedk2-3a7a6761143a4840faea0bd84daada3ac0f1bd22.tar.gz
edk2-3a7a6761143a4840faea0bd84daada3ac0f1bd22.tar.bz2
edk2-3a7a6761143a4840faea0bd84daada3ac0f1bd22.zip
BaseTools: Remove CanSkip calling for incremental build
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2978 If a module add a new PCD, the pcd token number will be reassigned. The new Pcd token number should be updated to all module's autogen files. CanSkip can only detect a single module's change but not others. CanSkip block the pcd token number update in incremental build, so this patch is going to remove this call. Signed-off-by: Bob Feng <bob.c.feng@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Yuwei Chen <yuwei.chen@intel.com> Reviewed-by: Yuwei Chen<yuwei.chen@intel.com>
Diffstat (limited to 'BaseTools')
-rwxr-xr-xBaseTools/Source/Python/AutoGen/ModuleAutoGen.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/BaseTools/Source/Python/AutoGen/ModuleAutoGen.py b/BaseTools/Source/Python/AutoGen/ModuleAutoGen.py
index dc8b1fe3d1..eebf6e87f5 100755
--- a/BaseTools/Source/Python/AutoGen/ModuleAutoGen.py
+++ b/BaseTools/Source/Python/AutoGen/ModuleAutoGen.py
@@ -1822,9 +1822,6 @@ class ModuleAutoGen(AutoGen):
for LibraryAutoGen in self.LibraryAutoGenList:
LibraryAutoGen.CreateCodeFile()
- # CanSkip uses timestamps to determine build skipping
- if self.CanSkip():
- return
self.LibraryAutoGenList
AutoGenList = []
IgoredAutoGenList = []