]> git.proxmox.com Git - mirror_edk2.git/commitdiff
BaseTools: Remove CanSkip calling for incremental build
authorBob Feng <bob.c.feng@intel.com>
Wed, 23 Sep 2020 12:36:58 +0000 (20:36 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 25 Sep 2020 02:27:35 +0000 (02:27 +0000)
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>
BaseTools/Source/Python/AutoGen/ModuleAutoGen.py

index dc8b1fe3d160cac2da22227fc233e3aa0d92cb1e..eebf6e87f5b4eb11922d9216628d63d5c832a938 100755 (executable)
@@ -1822,9 +1822,6 @@ class ModuleAutoGen(AutoGen):
             for LibraryAutoGen in self.LibraryAutoGenList:\r
                 LibraryAutoGen.CreateCodeFile()\r
 \r
-        # CanSkip uses timestamps to determine build skipping\r
-        if self.CanSkip():\r
-            return\r
         self.LibraryAutoGenList\r
         AutoGenList = []\r
         IgoredAutoGenList = []\r