]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/TargetTool/TargetTool.py
There is a limitation on WINDOWS OS for the length of entire file path can’t be large...
[mirror_edk2.git] / BaseTools / Source / Python / TargetTool / TargetTool.py
index 8126aac59c09ee61e1c5ca5bd56d4953032406d4..7a366db5fb5693fadbbd989d0ebf0d6721165ec7 100644 (file)
@@ -1,5 +1,5 @@
 #\r
 #\r
-#  Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>\r
+#  Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>\r
 #\r
 #  This program and the accompanying materials\r
 #  are licensed and made available under the terms and conditions of the BSD License\r
 #\r
 #  This program and the accompanying materials\r
 #  are licensed and made available under the terms and conditions of the BSD License\r
@@ -10,7 +10,7 @@
 #  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 #\r
 \r
 #  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 #\r
 \r
-import os\r
+import Common.LongFilePathOs as os\r
 import sys\r
 import traceback\r
 from optparse import OptionParser\r
 import sys\r
 import traceback\r
 from optparse import OptionParser\r
@@ -19,6 +19,7 @@ import Common.EdkLogger as EdkLogger
 import Common.BuildToolError as BuildToolError\r
 from Common.DataType import *\r
 from Common.BuildVersion import gBUILD_VERSION\r
 import Common.BuildToolError as BuildToolError\r
 from Common.DataType import *\r
 from Common.BuildVersion import gBUILD_VERSION\r
+from Common.LongFilePathSupport import OpenLongFilePath as open\r
 \r
 # To Do 1.set clean, 2. add item, if the line is disabled.\r
 \r
 \r
 # To Do 1.set clean, 2. add item, if the line is disabled.\r
 \r