BaseTools: Enable Multiple Process AutoGen
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1875 Assign the Module AutoGen tasks into multiple sub process. Cc: Liming Gao <liming.gao@intel.com> Signed-off-by: Bob Feng <bob.c.feng@intel.com> Acked-by: Laszlo Ersek <lersek@redhat.com> Tested-by: Laszlo Ersek <lersek@redhat.com> Acked-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
@ -113,6 +113,8 @@ class WorkspaceAutoGen(AutoGen):
|
||||
self.ProcessMixedPcd()
|
||||
self.VerifyPcdsFromFDF()
|
||||
self.CollectAllPcds()
|
||||
for Pa in self.AutoGenObjectList:
|
||||
Pa.FillData_LibConstPcd()
|
||||
self.GeneratePkgLevelHash()
|
||||
#
|
||||
# Check PCDs token value conflict in each DEC file.
|
||||
@ -881,7 +883,7 @@ class WorkspaceAutoGen(AutoGen):
|
||||
if not CreateDepsMakeFile:
|
||||
return
|
||||
for Pa in self.AutoGenObjectList:
|
||||
Pa.CreateMakeFile(True)
|
||||
Pa.CreateMakeFile(CreateDepsMakeFile)
|
||||
|
||||
## Create autogen code for platform and modules
|
||||
#
|
||||
@ -895,7 +897,7 @@ class WorkspaceAutoGen(AutoGen):
|
||||
if not CreateDepsCodeFile:
|
||||
return
|
||||
for Pa in self.AutoGenObjectList:
|
||||
Pa.CreateCodeFile(True)
|
||||
Pa.CreateCodeFile(CreateDepsCodeFile)
|
||||
|
||||
## Create AsBuilt INF file the platform
|
||||
#
|
||||
|
Reference in New Issue
Block a user