X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=BaseTools%2FSource%2FPython%2Fbuild%2Fbuild.py;h=bb130a02cc1cbdf9b5d4cfcdcffc0bf5f4469f31;hp=14a2ceb4bc64dff3be542580fa1a4a29b7266b28;hb=cd49821608f7eb867b8351c7a0cd3ed4dd2d563d;hpb=23b53ede358d9262a78e3f7b2a34423382d138a8 diff --git a/BaseTools/Source/Python/build/build.py b/BaseTools/Source/Python/build/build.py index 14a2ceb4bc..bb130a02cc 100644 --- a/BaseTools/Source/Python/build/build.py +++ b/BaseTools/Source/Python/build/build.py @@ -1865,13 +1865,21 @@ class Build(): if self.Target not in ['clean', 'cleanlib', 'cleanall', 'run', 'fds']: # for target which must generate AutoGen code and makefile if not self.SkipAutoGen or self.Target == 'genc': + self.Progress.Start("Generating code") Ma.CreateCodeFile(True) + self.Progress.Stop("done!") + if self.Target == "genc": + return True if not self.SkipAutoGen or self.Target == 'genmake': + self.Progress.Start("Generating makefile") if CmdListDict and self.Fdf and (Module.File, Arch) in CmdListDict: Ma.CreateMakeFile(True, CmdListDict[Module.File, Arch]) del CmdListDict[Module.File, Arch] else: Ma.CreateMakeFile(True) + self.Progress.Stop("done!") + if self.Target == "genmake": + return True self.BuildModules.append(Ma) self.AutoGenTime += int(round((time.time() - AutoGenStart))) MakeStart = time.time()