From 5a9db858806912ebd4e836aaa607ef6d87ce9c0d Mon Sep 17 00:00:00 2001 From: "Feng, Bob C" Date: Wed, 11 Sep 2019 18:01:56 +0800 Subject: [PATCH] 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 Signed-off-by: Bob Feng Reviewed-by: Liming Gao --- BaseTools/Source/Python/build/build.py | 1 + 1 file changed, 1 insertion(+) 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