From df692f024b12f1518827e1fb51b99337fcd4425c Mon Sep 17 00:00:00 2001 From: lgao4 Date: Mon, 19 Sep 2011 09:03:59 +0000 Subject: Sync BaseTools Branch (version r2323) to EDKII main trunk. Signed-off-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12379 6f19259b-4bc3-4df7-8a09-765794883524 --- BaseTools/Source/Python/build/build.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'BaseTools/Source/Python/build') diff --git a/BaseTools/Source/Python/build/build.py b/BaseTools/Source/Python/build/build.py index 51deb3890c..9502bf3364 100644 --- a/BaseTools/Source/Python/build/build.py +++ b/BaseTools/Source/Python/build/build.py @@ -912,6 +912,10 @@ class Build(): EdkLogger.info("No flash definition file found. FV [%s] will be ignored." % " ".join(self.FvList)) self.FvList = [] else: + # + # Mark now build in AutoGen Phase + # + GlobalData.gAutoGenPhase = True FdfParserObj = FdfParser(str(self.Fdf)) for key in self.Db._GlobalMacros: InputMacroDict[key] = self.Db._GlobalMacros[key] @@ -920,6 +924,7 @@ class Build(): if fvname.upper() not in FdfParserObj.Profile.FvDict.keys(): EdkLogger.error("build", OPTION_VALUE_INVALID, "No such an FV in FDF file: %s" % fvname) + GlobalData.gAutoGenPhase = False # # Merge Arch -- cgit v1.2.3