## @file\r
# build a platform or a module\r
#\r
-# Copyright (c) 2007 - 2013, 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
# Import Modules\r
#\r
-import os\r
+import Common.LongFilePathOs as os\r
import re\r
import StringIO\r
import sys\r
from subprocess import *\r
from Common import Misc as Utils\r
\r
+from Common.LongFilePathSupport import OpenLongFilePath as open\r
+from Common.LongFilePathSupport import LongFilePath\r
from Common.TargetTxtClassObject import *\r
from Common.ToolDefClassObject import *\r
from Common.DataType import *\r
# Version and Copyright\r
VersionNumber = "0.51" + ' ' + gBUILD_VERSION\r
__version__ = "%prog Version " + VersionNumber\r
-__copyright__ = "Copyright (c) 2007 - 2013, Intel Corporation All rights reserved."\r
+__copyright__ = "Copyright (c) 2007 - 2014, Intel Corporation All rights reserved."\r
\r
## standard targets of build command\r
gSupportedTarget = ['all', 'genc', 'genmake', 'modules', 'libraries', 'fds', 'clean', 'cleanall', 'cleanlib', 'run']\r
FvMapBuffer = os.path.join(Wa.FvDir, FvName + '.Fv.map')\r
if not os.path.exists(FvMapBuffer):\r
continue\r
- FvMap = open (FvMapBuffer, 'r')\r
+ FvMap = open(FvMapBuffer, 'r')\r
#skip FV size information\r
FvMap.readline()\r
FvMap.readline()\r
Ma.CreateAsBuiltInf()\r
if self.Target == "genmake":\r
continue\r
- self.Progress.Stop("done!")\r
pModules.append(Ma)\r
+ self.Progress.Stop("done!")\r
\r
for Ma in pModules:\r
# Generate build task for the module\r