X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=BaseTools%2FConf%2Ftarget.template;h=d4a3b53b7f3e5e722a0862a451fbb451b41b697f;hb=6ff7c838d09224dd4e4c9b5b93152d8db1b19740;hp=f3912bf82bd8d08e1fc8bd5c7b5880d18dec186a;hpb=589d5eaab31f1d1014f1dad1e9da7420dfb056bd;p=mirror_edk2.git
diff --git a/BaseTools/Conf/target.template b/BaseTools/Conf/target.template
index f3912bf82b..d4a3b53b7f 100644
--- a/BaseTools/Conf/target.template
+++ b/BaseTools/Conf/target.template
@@ -1,15 +1,8 @@
#
-# Copyright (c) 2006-2007, Intel Corporation
+# Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.
#
-# All rights reserved. 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
-
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+# SPDX-License-Identifier: BSD-2-Clause-Patent
#
-# Filename: target.template
#
# ALL Paths are Relative to WORKSPACE
@@ -19,54 +12,59 @@
#
# 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.
-ACTIVE_PLATFORM = MdePkg/MdePkg.dsc
+# ACTIVE_PLATFORM Filename Recommended Specify the WORKSPACE relative Path and Filename
+# 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 = EmulatorPkg/EmulatorPkg.dsc
-# TARGET List Optional Zero or more of the following: DEBUG, RELEASE,
-# 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.
+# 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 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.
-# 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
-# If not specified, then all valid architectures specified
-# in the FPD file, for which tools are available, will be
+# TARGET_ARCH List Optional What kind of architecture is the binary being target for.
+# One, or more, of the following, IA32, IPF, X64, EBC, ARM
+# or AArch64.
+# Multiple values can be specified on a single line, using
+# space characters to separate the values. These are used
+# 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 platform file, for which tools are available, will be
# built.
-# TARGET_ARCH =
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.
+# 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,
+# 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.
-# If not specified, all applicable TagName tools will be
+# TAGNAME List Optional Specify the name(s) of the tools_def.txt TagName to use.
+# If not specified, all applicable TagName tools will be
# used for the build. The list uses space character separation.
-TOOL_CHAIN_TAG = MYTOOLS
+TOOL_CHAIN_TAG = VS2015x86
+
+# MAX_CONCURRENT_THREAD_NUMBER NUMBER Optional The number of concurrent threads. If not specified or set
+# to zero, tool automatically detect number of processor
+# threads. Recommend to set this value to one less than the
+# number of your computer cores or CPUs. When value set to 1,
+# means disable multi-thread build, value set to more than 1,
+# means user specify the thread number to build. Not specify
+# the default value in this file.
+# MAX_CONCURRENT_THREAD_NUMBER = 1
+
-# 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. For multi-thread
-# built, the log will write to ${BUILD_DIR}/build.log.
-# This feature is only for PLATFORM build, and clean, cleanall or
-# stand-alone module build is still using the normal way.
-MULTIPLE_THREAD = Enable
+# 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