## @file\r
# This file is used to define each component of Target.txt file\r
#\r
-# Copyright (c) 2007, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
+# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>\r
+# This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# http://opensource.org/licenses/bsd-license.php\r
##\r
# Import Modules\r
#\r
-import os\r
+import Common.LongFilePathOs as os\r
import EdkLogger\r
import DataType\r
from BuildToolError import *\r
import GlobalData\r
+from Common.LongFilePathSupport import OpenLongFilePath as open\r
\r
gDefaultTargetTxtFile = "Conf/target.txt"\r
\r
DataType.TAB_TAT_DEFINES_ACTIVE_PLATFORM : '',\r
DataType.TAB_TAT_DEFINES_ACTIVE_MODULE : '',\r
DataType.TAB_TAT_DEFINES_TOOL_CHAIN_CONF : '',\r
- DataType.TAB_TAT_DEFINES_MULTIPLE_THREAD : '',\r
DataType.TAB_TAT_DEFINES_MAX_CONCURRENT_THREAD_NUMBER : '',\r
DataType.TAB_TAT_DEFINES_TARGET : [],\r
DataType.TAB_TAT_DEFINES_TOOL_CHAIN_TAG : [],\r
elif Key in [DataType.TAB_TAT_DEFINES_TARGET, DataType.TAB_TAT_DEFINES_TARGET_ARCH, \\r
DataType.TAB_TAT_DEFINES_TOOL_CHAIN_TAG]:\r
self.TargetTxtDictionary[Key] = Value.split()\r
- elif Key == DataType.TAB_TAT_DEFINES_MULTIPLE_THREAD:\r
- if Value not in ["Enable", "Disable"]:\r
- EdkLogger.error("build", FORMAT_INVALID, "Invalid setting of [%s]: %s." % (Key, Value),\r
- ExtraData="\tSetting must be one of [Enable, Disable]",\r
- File=FileName)\r
- self.TargetTxtDictionary[Key] = Value\r
elif Key == DataType.TAB_TAT_DEFINES_MAX_CONCURRENT_THREAD_NUMBER:\r
try:\r
V = int(Value, 0)\r