summaryrefslogtreecommitdiff
path: root/Tools/Conf/target.template
diff options
context:
space:
mode:
authorwuyizhong <wuyizhong@6f19259b-4bc3-4df7-8a09-765794883524>2006-09-11 06:42:49 +0000
committerwuyizhong <wuyizhong@6f19259b-4bc3-4df7-8a09-765794883524>2006-09-11 06:42:49 +0000
commitd039f539ae04f059201e1ef7516e53c0bd45d030 (patch)
tree018fe1e0352bead0e3b2eccfcb3a45a5f63083b6 /Tools/Conf/target.template
parent3067c4b0c099362ae18b2d366e4bae91f8539fb1 (diff)
downloadedk2-platforms-d039f539ae04f059201e1ef7516e53c0bd45d030.tar.xz
Add two attributes to target.template. MULTIPLE_THREAD is to enable/disable multi-thread build. MAX_CONCURRENT_THREAD_NUMBER is used to specify the number of concurrent threads.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1508 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools/Conf/target.template')
-rw-r--r--Tools/Conf/target.template11
1 files changed, 11 insertions, 0 deletions
diff --git a/Tools/Conf/target.template b/Tools/Conf/target.template
index 9b70da54f6..dea49ec83a 100644
--- a/Tools/Conf/target.template
+++ b/Tools/Conf/target.template
@@ -57,3 +57,14 @@ TOOL_CHAIN_CONF = Tools/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 multi-thread will bring much benefit. Otherwise, we
+# do not recommend to enable this. For multi-thread built, the
+# log will write to ${BUILD_DIR}/build.log.
+# MULTIPLE_THREAD = Enable
+
+# MAX_CONCURRENT_THREAD_NUMBER NUMBER Optional The number of concurrent threads. Default is 2. Recommend to
+# set this value to one more than the number of your compurter
+# cores or CPUs.
+# MAX_CONCURRENT_THREAD_NUMBER = 2 \ No newline at end of file