X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=BaseTools%2FConf%2Ftarget.template;h=787fc64fb1f23eda753ac8ff8d952aff08595c7f;hp=387816d15ad381fdcf6bfe9b2f10739042fb4f9e;hb=3e1d93c32efc7d716baeaa0d5d0ef96528141060;hpb=57b82a9cfad4002dbf1f9be02a931a508db767c9
diff --git a/BaseTools/Conf/target.template b/BaseTools/Conf/target.template
index 387816d15a..787fc64fb1 100644
--- a/BaseTools/Conf/target.template
+++ b/BaseTools/Conf/target.template
@@ -1,7 +1,7 @@
#
-# Copyright (c) 2006-2007, Intel Corporation
+# Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.
#
-# All rights reserved. This program and the accompanying materials
+# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
# which accompanies this distribution. The full text of the license may be found at
# http://opensource.org/licenses/bsd-license.php
@@ -9,7 +9,6 @@
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
-# Filename: target.template
#
# ALL Paths are Relative to WORKSPACE
@@ -20,36 +19,39 @@
# PROPERTY Type Use Description
# ---------------- -------- -------- -----------------------------------------------------------
# ACTIVE_PLATFORM Filename Recommended Specify the WORKSPACE relative Path and Filename
-# of the platform FPD file that will be used for the build
-# This line is required if and only if the current working
-# directory does not contain one or more FPD files.
+# of the platform description file that will be used for the
+# build. This line is required if and only if the current
+# working directory does not contain one or more description
+# files.
ACTIVE_PLATFORM = Nt32Pkg/Nt32Pkg.dsc
-# TARGET List Optional Zero or more of the following: DEBUG, RELEASE,
+# TARGET List Optional Zero or more of the following: DEBUG, RELEASE, NOOPT
# UserDefined; separated by a space character.
# If the line is missing or no value is specified, all
-# valid targets specified in the FPD file will attempt
-# to be built. The following line will build all platform
-# targets.
+# valid targets specified in the platform description file
+# will attempt to be built. The following line will build
+# DEBUG platform target.
TARGET = DEBUG
# TARGET_ARCH List Optional What kind of architecture is the binary being target for.
-# One, or more, of the following, IA32, IPF, X64, EBC or ARM.
+# One, or more, of the following, IA32, IPF, X64, EBC, ARM
+# or AArch64.
# Multiple values can be specified on a single line, using
# space charaters to separate the values. These are used
-# during the parsing of an FPD file, restricting the build
-# output target(s.)
-# The Build Target ARCH is determined by a logical AND of:
-# FPD BuildOptions: tag
+# during the parsing of a platform description file,
+# restricting the build output target(s.)
+# The Build Target ARCH is determined by (precedence high to low):
+# Command-line: -a ARCH option
+# target.txt: TARGET_ARCH values
+# DSC file: [Defines] SUPPORTED_ARCHITECTURES tag
# If not specified, then all valid architectures specified
-# in the FPD file, for which tools are available, will be
+# in the platform file, for which tools are available, will be
# built.
TARGET_ARCH = IA32
# TOOL_DEFINITION_FILE Filename Optional Specify the name of the filename to use for specifying
# the tools to use for the build. If not specified,
-# tools_def.txt will be used for the build. This file
-# MUST be located in the WORKSPACE/Conf directory.
+# WORKSPACE/Conf/tools_def.txt will be used for the build.
TOOL_CHAIN_CONF = Conf/tools_def.txt
# TAGNAME List Optional Specify the name(s) of the tools_def.txt TagName to use.
@@ -57,15 +59,14 @@ 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. 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_RULE_CONF Filename Optional Specify the file name to use for the build rules that are followed
+# when generating Makefiles. If not specified, the file:
+# WORKSPACE/Conf/build_rule.txt will be used
+BUILD_RULE_CONF = Conf/build_rule.txt
-# 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