diff options
author | Feng, Bob C <bob.c.feng@intel.com> | 2019-09-06 21:22:58 +0800 |
---|---|---|
committer | Feng, Bob C <bob.c.feng@intel.com> | 2019-09-11 09:43:59 +0800 |
commit | 7809492c10e8950a1b92581e6e87c6a4be069077 (patch) | |
tree | 699c2983040c303dc2fb1a1ff47351049a4b73da /BaseTools/Source/Python/AutoGen/GenMake.py | |
parent | f23da86415fda47f16c1080d7c625a59c23e2bae (diff) | |
download | edk2-7809492c10e8950a1b92581e6e87c6a4be069077.tar.gz edk2-7809492c10e8950a1b92581e6e87c6a4be069077.tar.bz2 edk2-7809492c10e8950a1b92581e6e87c6a4be069077.zip |
BaseTools: Enable --genfds-multi-thread to default build
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1302
This patch enable --genfds-multi-thread to default build.
This patch keep --genfds-multi-thread build option for
compatibility and also add a new build option to disable
genfds-multi-thread as --no-genfds-multi-thread.
Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Bob Feng <bob.c.feng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/AutoGen/GenMake.py')
-rwxr-xr-x | BaseTools/Source/Python/AutoGen/GenMake.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/BaseTools/Source/Python/AutoGen/GenMake.py b/BaseTools/Source/Python/AutoGen/GenMake.py index 47dae82e1a..4f85a93055 100755 --- a/BaseTools/Source/Python/AutoGen/GenMake.py +++ b/BaseTools/Source/Python/AutoGen/GenMake.py @@ -1580,8 +1580,8 @@ class TopLevelMakefile(BuildFile): if GlobalData.gCaseInsensitive:
ExtraOption += " -c"
- if GlobalData.gEnableGenfdsMultiThread:
- ExtraOption += " --genfds-multi-thread"
+ if not GlobalData.gEnableGenfdsMultiThread:
+ ExtraOption += " --no-genfds-multi-thread"
if GlobalData.gIgnoreSource:
ExtraOption += " --ignore-sources"
|