diff options
author | Feng, Bob C <bob.c.feng@intel.com> | 2019-07-30 17:15:31 +0800 |
---|---|---|
committer | Feng, Bob C <bob.c.feng@intel.com> | 2019-08-09 23:15:53 +0800 |
commit | 673d09a2ddfacbc8414ca703519f32c1e48ca5b7 (patch) | |
tree | 017e1ca7fe245f45932531c09972b88dcce4bb4c /BaseTools/Source/Python/AutoGen/WorkspaceAutoGen.py | |
parent | e8449e1d8e3b40186eb16ff25242397cffb00a63 (diff) | |
download | edk2-673d09a2ddfacbc8414ca703519f32c1e48ca5b7.tar.gz edk2-673d09a2ddfacbc8414ca703519f32c1e48ca5b7.tar.bz2 edk2-673d09a2ddfacbc8414ca703519f32c1e48ca5b7.zip |
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>
Diffstat (limited to 'BaseTools/Source/Python/AutoGen/WorkspaceAutoGen.py')
-rw-r--r-- | BaseTools/Source/Python/AutoGen/WorkspaceAutoGen.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/BaseTools/Source/Python/AutoGen/WorkspaceAutoGen.py b/BaseTools/Source/Python/AutoGen/WorkspaceAutoGen.py index 22a7d996fd..ea0d8f8bfb 100644 --- a/BaseTools/Source/Python/AutoGen/WorkspaceAutoGen.py +++ b/BaseTools/Source/Python/AutoGen/WorkspaceAutoGen.py @@ -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
#
|