summaryrefslogtreecommitdiff
path: root/BaseTools/Conf
diff options
context:
space:
mode:
Diffstat (limited to 'BaseTools/Conf')
-rw-r--r--BaseTools/Conf/build_rule.template7
-rw-r--r--BaseTools/Conf/target.template14
2 files changed, 6 insertions, 15 deletions
diff --git a/BaseTools/Conf/build_rule.template b/BaseTools/Conf/build_rule.template
index 4f68ddc6c1..d3b8e7ccc3 100644
--- a/BaseTools/Conf/build_rule.template
+++ b/BaseTools/Conf/build_rule.template
@@ -200,20 +200,19 @@
[Static-Library-File]
<InputFile>
- ?.lib
+ *.lib
<ExtraDependency>
- $(LIBS)
$(MAKE_FILE)
<OutputFile>
$(DEBUG_DIR)(+)$(MODULE_NAME).dll
<Command.MSFT, Command.INTEL>
- "$(DLINK)" /OUT:${dst} $(DLINK_FLAGS) $(DLINK_SPATH) $(LIBS) ${src}
+ "$(DLINK)" /OUT:${dst} $(DLINK_FLAGS) $(DLINK_SPATH) ${src}
<Command.GCC>
- "$(DLINK)" -o ${dst} $(DLINK_FLAGS) -\( $(DLINK_SPATH) $(LIBS) ${src} -\) $(DLINK2_FLAGS)
+ "$(DLINK)" -o ${dst} $(DLINK_FLAGS) -\( $(DLINK_SPATH) ${src} -\) $(DLINK2_FLAGS)
[Dynamic-Library-File]
<InputFile>
diff --git a/BaseTools/Conf/target.template b/BaseTools/Conf/target.template
index 5623e7b303..5ce56d3fe8 100644
--- a/BaseTools/Conf/target.template
+++ b/BaseTools/Conf/target.template
@@ -58,17 +58,9 @@ TOOL_CHAIN_CONF = Conf/tools_def.txt
# used for the build. The list uses space character separation.
TOOL_CHAIN_TAG = MYTOOLS
-# MULTIPLE_THREAD FLAG Optional Flag to enable multi-thread build. If not specified, default
-# is "Disable". If your computer is multi-core or multiple CPUs,
-# enabling this feature will bring much benefit.
-# This feature is only available for "spawn" build mode, and
-# only for PLATFORM build. The clean, cleanall or
-# stand-alone module build is still using the normal way.
-MULTIPLE_THREAD = Enable
-
-# MAX_CONCURRENT_THREAD_NUMBER NUMBER Optional The number of concurrent threads. Default is 1. Recommend to
-# set this value to one more than the number of your compurter
-# cores or CPUs.
+# MAX_CONCURRENT_THREAD_NUMBER NUMBER Optional The number of concurrent threads. Recommend to set this
+# value to one more than the number of your compurter
+# cores or CPUs. Less than 2 means disable multithread build.
MAX_CONCURRENT_THREAD_NUMBER = 1
# Build rules definition