]> git.proxmox.com Git - mirror_edk2.git/commitdiff
BaseTools: Fixed a bug of IgnoreAutoGen
authorFeng, Bob C <bob.c.feng@intel.com>
Wed, 11 Sep 2019 10:01:56 +0000 (18:01 +0800)
committerFeng, Bob C <bob.c.feng@intel.com>
Thu, 12 Sep 2019 06:08:15 +0000 (14:08 +0800)
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2080
After checking that if the build can't
ignore Autogen due to there is no compelet autogen files,
the build tool need to do a completely Autogen.

This patch is to fix a bug that if AutoGen
can't be skiped, the SkipAutoGen flag
need to set to False

Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Bob Feng <bob.c.feng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Source/Python/build/build.py

index e81d3d64867c5c3acb7e2bec178c80c6f8bc84bd..8df53e7c797be40379dac7da616adda60db85e2d 100755 (executable)
@@ -2204,6 +2204,7 @@ class Build():
                 if self.SkipAutoGen:\r
                     Wa = self.VerifyAutoGenFiles()\r
                     if Wa is None:\r
+                        self.SkipAutoGen = False\r
                         Wa, self.BuildModules = self.PerformAutoGen(BuildTarget,ToolChain)\r
                     else:\r
                         GlobalData.gAutoGenPhase = True\r