summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/build/build.py
diff options
context:
space:
mode:
authorFeng, Bob C <bob.c.feng@intel.com>2019-09-11 18:01:56 +0800
committerFeng, Bob C <bob.c.feng@intel.com>2019-09-12 14:08:15 +0800
commit5a9db858806912ebd4e836aaa607ef6d87ce9c0d (patch)
treed49664ae826cfc869dc8fc79976c4004624a6412 /BaseTools/Source/Python/build/build.py
parent204ae9da230ecbf0910c21acac7aa5d5e8cbb8d0 (diff)
downloadedk2-5a9db858806912ebd4e836aaa607ef6d87ce9c0d.tar.gz
edk2-5a9db858806912ebd4e836aaa607ef6d87ce9c0d.tar.bz2
edk2-5a9db858806912ebd4e836aaa607ef6d87ce9c0d.zip
BaseTools: Fixed a bug of IgnoreAutoGen
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>
Diffstat (limited to 'BaseTools/Source/Python/build/build.py')
-rwxr-xr-xBaseTools/Source/Python/build/build.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/BaseTools/Source/Python/build/build.py b/BaseTools/Source/Python/build/build.py
index e81d3d6486..8df53e7c79 100755
--- a/BaseTools/Source/Python/build/build.py
+++ b/BaseTools/Source/Python/build/build.py
@@ -2204,6 +2204,7 @@ class Build():
if self.SkipAutoGen:
Wa = self.VerifyAutoGenFiles()
if Wa is None:
+ self.SkipAutoGen = False
Wa, self.BuildModules = self.PerformAutoGen(BuildTarget,ToolChain)
else:
GlobalData.gAutoGenPhase = True