There is a limitation on WINDOWS OS for the length of entire file path can’t be larger than 255. There is an OS API provided by Microsoft to add “\\?\” before the path header to support the long file path. Enable this feature on basetools.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hess Chen <hesheng.chen@intel.com> Reviewed-by: Yingke Liu <yingke.d.liu@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15809 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
## @file
|
||||
# process APRIORI file data and generate PEI/DXE APRIORI file
|
||||
#
|
||||
# Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>
|
||||
# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||
#
|
||||
# This program and the accompanying materials
|
||||
# are licensed and made available under the terms and conditions of the BSD License
|
||||
@ -16,7 +16,7 @@
|
||||
# Import Modules
|
||||
#
|
||||
from struct import *
|
||||
import os
|
||||
import Common.LongFilePathOs as os
|
||||
import StringIO
|
||||
import FfsFileStatement
|
||||
from GenFdsGlobalVariable import GenFdsGlobalVariable
|
||||
|
@ -1,7 +1,7 @@
|
||||
## @file
|
||||
# generate capsule
|
||||
#
|
||||
# Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>
|
||||
# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||
#
|
||||
# This program and the accompanying materials
|
||||
# are licensed and made available under the terms and conditions of the BSD License
|
||||
@ -17,7 +17,7 @@
|
||||
#
|
||||
from GenFdsGlobalVariable import GenFdsGlobalVariable
|
||||
from CommonDataClass.FdfClass import CapsuleClassObject
|
||||
import os
|
||||
import Common.LongFilePathOs as os
|
||||
import subprocess
|
||||
import StringIO
|
||||
from Common.Misc import SaveFileOnChange
|
||||
|
@ -1,7 +1,7 @@
|
||||
## @file
|
||||
# process compress section generation
|
||||
#
|
||||
# Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>
|
||||
# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||
#
|
||||
# This program and the accompanying materials
|
||||
# are licensed and made available under the terms and conditions of the BSD License
|
||||
|
@ -1,7 +1,7 @@
|
||||
## @file
|
||||
# process data section generation
|
||||
#
|
||||
# Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>
|
||||
# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||
#
|
||||
# This program and the accompanying materials
|
||||
# are licensed and made available under the terms and conditions of the BSD License
|
||||
@ -19,10 +19,10 @@ import Section
|
||||
from GenFdsGlobalVariable import GenFdsGlobalVariable
|
||||
import subprocess
|
||||
from Ffs import Ffs
|
||||
import os
|
||||
import Common.LongFilePathOs as os
|
||||
from CommonDataClass.FdfClass import DataSectionClassObject
|
||||
from Common.Misc import PeImageClass
|
||||
import shutil
|
||||
from Common.LongFilePathSupport import CopyLongFilePath
|
||||
|
||||
## generate data section
|
||||
#
|
||||
@ -71,9 +71,8 @@ class DataSection (DataSectionClassObject):
|
||||
MapFile = Filename.replace('.efi', '.map')
|
||||
if os.path.exists(MapFile):
|
||||
CopyMapFile = os.path.join(OutputPath, ModuleName + '.map')
|
||||
if not os.path.exists(CopyMapFile) or \
|
||||
(os.path.getmtime(MapFile) > os.path.getmtime(CopyMapFile)):
|
||||
shutil.copyfile(MapFile, CopyMapFile)
|
||||
if not os.path.exists(CopyMapFile) or (os.path.getmtime(MapFile) > os.path.getmtime(CopyMapFile)):
|
||||
CopyLongFilePath(MapFile, CopyMapFile)
|
||||
|
||||
#Get PE Section alignment when align is set to AUTO
|
||||
if self.Alignment == 'Auto' and self.SecType in ('TE', 'PE32'):
|
||||
@ -92,7 +91,7 @@ class DataSection (DataSectionClassObject):
|
||||
FileBeforeStrip = os.path.join(OutputPath, ModuleName + '.efi')
|
||||
if not os.path.exists(FileBeforeStrip) or \
|
||||
(os.path.getmtime(self.SectFileName) > os.path.getmtime(FileBeforeStrip)):
|
||||
shutil.copyfile(self.SectFileName, FileBeforeStrip)
|
||||
CopyLongFilePath(self.SectFileName, FileBeforeStrip)
|
||||
StrippedFile = os.path.join(OutputPath, ModuleName + '.stripped')
|
||||
GenFdsGlobalVariable.GenerateFirmwareImage(
|
||||
StrippedFile,
|
||||
|
@ -1,7 +1,7 @@
|
||||
## @file
|
||||
# process depex section generation
|
||||
#
|
||||
# Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>
|
||||
# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||
#
|
||||
# This program and the accompanying materials
|
||||
# are licensed and made available under the terms and conditions of the BSD License
|
||||
@ -19,10 +19,9 @@ import Section
|
||||
from GenFdsGlobalVariable import GenFdsGlobalVariable
|
||||
import subprocess
|
||||
from Ffs import Ffs
|
||||
import os
|
||||
import Common.LongFilePathOs as os
|
||||
from CommonDataClass.FdfClass import DepexSectionClassObject
|
||||
from AutoGen.GenDepex import DependencyExpression
|
||||
import shutil
|
||||
from Common import EdkLogger
|
||||
from Common.BuildToolError import *
|
||||
|
||||
|
@ -20,12 +20,13 @@ import Section
|
||||
from GenFdsGlobalVariable import GenFdsGlobalVariable
|
||||
import subprocess
|
||||
from Ffs import Ffs
|
||||
import os
|
||||
import Common.LongFilePathOs as os
|
||||
from CommonDataClass.FdfClass import EfiSectionClassObject
|
||||
import shutil
|
||||
from Common import EdkLogger
|
||||
from Common.BuildToolError import *
|
||||
from Common.Misc import PeImageClass
|
||||
from Common.LongFilePathSupport import OpenLongFilePath as open
|
||||
from Common.LongFilePathSupport import CopyLongFilePath
|
||||
|
||||
## generate rule section
|
||||
#
|
||||
@ -237,14 +238,14 @@ class EfiSection (EfiSectionClassObject):
|
||||
if os.path.exists(MapFile):
|
||||
CopyMapFile = os.path.join(OutputPath, ModuleName + '.map')
|
||||
if not os.path.exists(CopyMapFile) or \
|
||||
(os.path.getmtime(MapFile) > os.path.getmtime(CopyMapFile)):
|
||||
shutil.copyfile(MapFile, CopyMapFile)
|
||||
(os.path.getmtime(MapFile) > os.path.getmtime(CopyMapFile)):
|
||||
CopyLongFilePath(MapFile, CopyMapFile)
|
||||
|
||||
if not NoStrip:
|
||||
FileBeforeStrip = os.path.join(OutputPath, ModuleName + '.efi')
|
||||
if not os.path.exists(FileBeforeStrip) or \
|
||||
(os.path.getmtime(File) > os.path.getmtime(FileBeforeStrip)):
|
||||
shutil.copyfile(File, FileBeforeStrip)
|
||||
CopyLongFilePath(File, FileBeforeStrip)
|
||||
StrippedFile = os.path.join(OutputPath, ModuleName + '.stripped')
|
||||
GenFdsGlobalVariable.GenerateFirmwareImage(
|
||||
StrippedFile,
|
||||
|
@ -1,7 +1,7 @@
|
||||
## @file
|
||||
# process FD generation
|
||||
#
|
||||
# Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>
|
||||
# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||
#
|
||||
# This program and the accompanying materials
|
||||
# are licensed and made available under the terms and conditions of the BSD License
|
||||
@ -17,7 +17,7 @@
|
||||
#
|
||||
import Region
|
||||
import Fv
|
||||
import os
|
||||
import Common.LongFilePathOs as os
|
||||
import StringIO
|
||||
import sys
|
||||
from struct import *
|
||||
|
@ -55,7 +55,8 @@ from Common.String import ReplaceMacro
|
||||
from Common.Misc import tdict
|
||||
|
||||
import re
|
||||
import os
|
||||
import Common.LongFilePathOs as os
|
||||
from Common.LongFilePathSupport import OpenLongFilePath as open
|
||||
|
||||
##define T_CHAR_SPACE ' '
|
||||
##define T_CHAR_NULL '\0'
|
||||
|
@ -1,7 +1,7 @@
|
||||
## @file
|
||||
# process FFS generation from FILE statement
|
||||
#
|
||||
# Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>
|
||||
# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||
#
|
||||
# This program and the accompanying materials
|
||||
# are licensed and made available under the terms and conditions of the BSD License
|
||||
@ -17,7 +17,7 @@
|
||||
#
|
||||
import Ffs
|
||||
import Rule
|
||||
import os
|
||||
import Common.LongFilePathOs as os
|
||||
import StringIO
|
||||
import subprocess
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
## @file
|
||||
# process FFS generation from INF statement
|
||||
#
|
||||
# Copyright (c) 2007 - 2011, Intel Corporation. All rights reserved.<BR>
|
||||
# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||
#
|
||||
# This program and the accompanying materials
|
||||
# are licensed and made available under the terms and conditions of the BSD License
|
||||
@ -16,8 +16,7 @@
|
||||
# Import Modules
|
||||
#
|
||||
import Rule
|
||||
import os
|
||||
import shutil
|
||||
import Common.LongFilePathOs as os
|
||||
import StringIO
|
||||
from struct import *
|
||||
from GenFdsGlobalVariable import GenFdsGlobalVariable
|
||||
@ -38,6 +37,8 @@ from FvImageSection import FvImageSection
|
||||
from Common.Misc import PeImageClass
|
||||
from AutoGen.GenDepex import DependencyExpression
|
||||
from PatchPcdValue.PatchPcdValue import PatchBinaryFile
|
||||
from Common.LongFilePathSupport import CopyLongFilePath
|
||||
from Common.LongFilePathSupport import OpenLongFilePath as open
|
||||
|
||||
## generate FFS from INF
|
||||
#
|
||||
@ -322,7 +323,7 @@ class FfsInfStatement(FfsInfStatementClassObject):
|
||||
return EfiFile
|
||||
Basename = os.path.basename(EfiFile)
|
||||
Output = os.path.join(self.OutputPath, Basename)
|
||||
shutil.copy(EfiFile, Output)
|
||||
CopyLongFilePath(EfiFile, Output)
|
||||
for Pcd in self.PatchPcds:
|
||||
RetVal, RetStr = PatchBinaryFile(Output, int(Pcd.Offset, 0), Pcd.DatumType, Pcd.DefaultValue, Pcd.MaxDatumSize)
|
||||
if RetVal:
|
||||
@ -648,8 +649,8 @@ class FfsInfStatement(FfsInfStatementClassObject):
|
||||
if not NoStrip:
|
||||
FileBeforeStrip = os.path.join(self.OutputPath, ModuleName + '.reloc')
|
||||
if not os.path.exists(FileBeforeStrip) or \
|
||||
(os.path.getmtime(File) > os.path.getmtime(FileBeforeStrip)):
|
||||
shutil.copyfile(File, FileBeforeStrip)
|
||||
(os.path.getmtime(File) > os.path.getmtime(FileBeforeStrip)):
|
||||
CopyLongFilePath(File, FileBeforeStrip)
|
||||
StrippedFile = os.path.join(self.OutputPath, ModuleName + '.stipped')
|
||||
GenFdsGlobalVariable.GenerateFirmwareImage(
|
||||
StrippedFile,
|
||||
@ -687,8 +688,9 @@ class FfsInfStatement(FfsInfStatementClassObject):
|
||||
if not NoStrip:
|
||||
FileBeforeStrip = os.path.join(self.OutputPath, ModuleName + '.reloc')
|
||||
if not os.path.exists(FileBeforeStrip) or \
|
||||
(os.path.getmtime(GenSecInputFile) > os.path.getmtime(FileBeforeStrip)):
|
||||
shutil.copyfile(GenSecInputFile, FileBeforeStrip)
|
||||
(os.path.getmtime(GenSecInputFile) > os.path.getmtime(FileBeforeStrip)):
|
||||
CopyLongFilePath(GenSecInputFile, FileBeforeStrip)
|
||||
|
||||
StrippedFile = os.path.join(self.OutputPath, ModuleName + '.stipped')
|
||||
GenFdsGlobalVariable.GenerateFirmwareImage(
|
||||
StrippedFile,
|
||||
|
@ -1,7 +1,7 @@
|
||||
## @file
|
||||
# process FV generation
|
||||
#
|
||||
# Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>
|
||||
# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||
#
|
||||
# This program and the accompanying materials
|
||||
# are licensed and made available under the terms and conditions of the BSD License
|
||||
@ -15,8 +15,7 @@
|
||||
##
|
||||
# Import Modules
|
||||
#
|
||||
import os
|
||||
import shutil
|
||||
import Common.LongFilePathOs as os
|
||||
import subprocess
|
||||
import StringIO
|
||||
from struct import *
|
||||
@ -27,6 +26,8 @@ from GenFdsGlobalVariable import GenFdsGlobalVariable
|
||||
from GenFds import GenFds
|
||||
from CommonDataClass.FdfClass import FvClassObject
|
||||
from Common.Misc import SaveFileOnChange
|
||||
from Common.LongFilePathSupport import CopyLongFilePath
|
||||
from Common.LongFilePathSupport import OpenLongFilePath as open
|
||||
|
||||
T_CHAR_LF = '\n'
|
||||
|
||||
@ -128,7 +129,7 @@ class FV (FvClassObject):
|
||||
FvOutputFile = self.CreateFileName
|
||||
|
||||
FvInfoFileName = os.path.join(GenFdsGlobalVariable.FfsDir, self.UiFvName + '.inf')
|
||||
shutil.copy(GenFdsGlobalVariable.FvAddressFileName, FvInfoFileName)
|
||||
CopyLongFilePath(GenFdsGlobalVariable.FvAddressFileName, FvInfoFileName)
|
||||
OrigFvInfo = None
|
||||
if os.path.exists (FvInfoFileName):
|
||||
OrigFvInfo = open(FvInfoFileName, 'r').read()
|
||||
|
@ -1,7 +1,7 @@
|
||||
## @file
|
||||
# process FV image section generation
|
||||
#
|
||||
# Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>
|
||||
# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||
#
|
||||
# This program and the accompanying materials
|
||||
# are licensed and made available under the terms and conditions of the BSD License
|
||||
@ -20,7 +20,7 @@ import StringIO
|
||||
from Ffs import Ffs
|
||||
import subprocess
|
||||
from GenFdsGlobalVariable import GenFdsGlobalVariable
|
||||
import os
|
||||
import Common.LongFilePathOs as os
|
||||
from CommonDataClass.FdfClass import FvImageSectionClassObject
|
||||
from Common import EdkLogger
|
||||
from Common.BuildToolError import *
|
||||
|
@ -1,7 +1,7 @@
|
||||
## @file
|
||||
# generate flash image
|
||||
#
|
||||
# Copyright (c) 2007 - 2013, Intel Corporation. All rights reserved.<BR>
|
||||
# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||
#
|
||||
# This program and the accompanying materials
|
||||
# are licensed and made available under the terms and conditions of the BSD License
|
||||
@ -17,7 +17,7 @@
|
||||
#
|
||||
from optparse import OptionParser
|
||||
import sys
|
||||
import os
|
||||
import Common.LongFilePathOs as os
|
||||
import linecache
|
||||
import FdfParser
|
||||
import Common.BuildToolError as BuildToolError
|
||||
@ -42,7 +42,7 @@ from Common.BuildVersion import gBUILD_VERSION
|
||||
## Version and Copyright
|
||||
versionNumber = "1.0" + ' ' + gBUILD_VERSION
|
||||
__version__ = "%prog Version " + versionNumber
|
||||
__copyright__ = "Copyright (c) 2007 - 2013, Intel Corporation All rights reserved."
|
||||
__copyright__ = "Copyright (c) 2007 - 2014, Intel Corporation All rights reserved."
|
||||
|
||||
## Tool entrance method
|
||||
#
|
||||
|
@ -1,7 +1,7 @@
|
||||
## @file
|
||||
# Global variables for GenFds
|
||||
#
|
||||
# Copyright (c) 2007 - 2012, Intel Corporation. All rights reserved.<BR>
|
||||
# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||
#
|
||||
# This program and the accompanying materials
|
||||
# are licensed and made available under the terms and conditions of the BSD License
|
||||
@ -15,7 +15,7 @@
|
||||
##
|
||||
# Import Modules
|
||||
#
|
||||
import os
|
||||
import Common.LongFilePathOs as os
|
||||
import sys
|
||||
import subprocess
|
||||
import struct
|
||||
@ -30,6 +30,7 @@ from Common.ToolDefClassObject import ToolDefClassObject
|
||||
from AutoGen.BuildEngine import BuildRule
|
||||
import Common.DataType as DataType
|
||||
from Common.Misc import PathClass
|
||||
from Common.LongFilePathSupport import OpenLongFilePath as open
|
||||
|
||||
## Global variables
|
||||
#
|
||||
|
@ -1,7 +1,7 @@
|
||||
## @file
|
||||
# process GUIDed section generation
|
||||
#
|
||||
# Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>
|
||||
# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||
#
|
||||
# This program and the accompanying materials
|
||||
# are licensed and made available under the terms and conditions of the BSD License
|
||||
@ -18,7 +18,7 @@
|
||||
import Section
|
||||
import subprocess
|
||||
from Ffs import Ffs
|
||||
import os
|
||||
import Common.LongFilePathOs as os
|
||||
from GenFdsGlobalVariable import GenFdsGlobalVariable
|
||||
from CommonDataClass.FdfClass import GuidSectionClassObject
|
||||
from Common import ToolDefClassObject
|
||||
@ -26,6 +26,7 @@ import sys
|
||||
from Common import EdkLogger
|
||||
from Common.BuildToolError import *
|
||||
from FvImageSection import FvImageSection
|
||||
from Common.LongFilePathSupport import OpenLongFilePath as open
|
||||
|
||||
## generate GUIDed section
|
||||
#
|
||||
|
@ -1,7 +1,7 @@
|
||||
## @file
|
||||
# process OptionROM generation from FILE statement
|
||||
#
|
||||
# Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>
|
||||
# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||
#
|
||||
# This program and the accompanying materials
|
||||
# are licensed and made available under the terms and conditions of the BSD License
|
||||
@ -15,7 +15,7 @@
|
||||
##
|
||||
# Import Modules
|
||||
#
|
||||
import os
|
||||
import Common.LongFilePathOs as os
|
||||
|
||||
from GenFdsGlobalVariable import GenFdsGlobalVariable
|
||||
##
|
||||
|
@ -1,7 +1,7 @@
|
||||
## @file
|
||||
# process OptionROM generation
|
||||
#
|
||||
# Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>
|
||||
# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||
#
|
||||
# This program and the accompanying materials
|
||||
# are licensed and made available under the terms and conditions of the BSD License
|
||||
@ -15,8 +15,7 @@
|
||||
##
|
||||
# Import Modules
|
||||
#
|
||||
import os
|
||||
import shutil
|
||||
import Common.LongFilePathOs as os
|
||||
import subprocess
|
||||
import StringIO
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
## @file
|
||||
# process FD Region generation
|
||||
#
|
||||
# Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>
|
||||
# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||
#
|
||||
# This program and the accompanying materials
|
||||
# are licensed and made available under the terms and conditions of the BSD License
|
||||
@ -19,10 +19,11 @@ from struct import *
|
||||
from GenFdsGlobalVariable import GenFdsGlobalVariable
|
||||
import StringIO
|
||||
from CommonDataClass.FdfClass import RegionClassObject
|
||||
import os
|
||||
import Common.LongFilePathOs as os
|
||||
from stat import *
|
||||
from Common import EdkLogger
|
||||
from Common.BuildToolError import *
|
||||
from Common.LongFilePathSupport import OpenLongFilePath as open
|
||||
|
||||
## generate Region
|
||||
#
|
||||
|
@ -1,7 +1,7 @@
|
||||
## @file
|
||||
# section base class
|
||||
#
|
||||
# Copyright (c) 2007-2011, Intel Corporation. All rights reserved.<BR>
|
||||
# Copyright (c) 2007-2014, Intel Corporation. All rights reserved.<BR>
|
||||
#
|
||||
# This program and the accompanying materials
|
||||
# are licensed and made available under the terms and conditions of the BSD License
|
||||
@ -17,7 +17,7 @@
|
||||
#
|
||||
from CommonDataClass.FdfClass import SectionClassObject
|
||||
from GenFdsGlobalVariable import GenFdsGlobalVariable
|
||||
import os, glob
|
||||
import Common.LongFilePathOs as os, glob
|
||||
from Common import EdkLogger
|
||||
from Common.BuildToolError import *
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
## @file
|
||||
# process UI section generation
|
||||
#
|
||||
# Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>
|
||||
# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||
#
|
||||
# This program and the accompanying materials
|
||||
# are licensed and made available under the terms and conditions of the BSD License
|
||||
@ -18,9 +18,10 @@
|
||||
import Section
|
||||
from Ffs import Ffs
|
||||
import subprocess
|
||||
import os
|
||||
import Common.LongFilePathOs as os
|
||||
from GenFdsGlobalVariable import GenFdsGlobalVariable
|
||||
from CommonDataClass.FdfClass import UiSectionClassObject
|
||||
from Common.LongFilePathSupport import OpenLongFilePath as open
|
||||
|
||||
## generate UI section
|
||||
#
|
||||
|
@ -1,7 +1,7 @@
|
||||
## @file
|
||||
# process Version section generation
|
||||
#
|
||||
# Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>
|
||||
# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||
#
|
||||
# This program and the accompanying materials
|
||||
# are licensed and made available under the terms and conditions of the BSD License
|
||||
@ -17,10 +17,11 @@
|
||||
#
|
||||
from Ffs import Ffs
|
||||
import Section
|
||||
import os
|
||||
import Common.LongFilePathOs as os
|
||||
import subprocess
|
||||
from GenFdsGlobalVariable import GenFdsGlobalVariable
|
||||
from CommonDataClass.FdfClass import VerSectionClassObject
|
||||
from Common.LongFilePathSupport import OpenLongFilePath as open
|
||||
|
||||
## generate version section
|
||||
#
|
||||
|
@ -1,7 +1,7 @@
|
||||
## @file
|
||||
# process VTF generation
|
||||
#
|
||||
# Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>
|
||||
# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||
#
|
||||
# This program and the accompanying materials
|
||||
# are licensed and made available under the terms and conditions of the BSD License
|
||||
@ -16,8 +16,9 @@
|
||||
# Import Modules
|
||||
#
|
||||
from GenFdsGlobalVariable import GenFdsGlobalVariable
|
||||
import os
|
||||
import Common.LongFilePathOs as os
|
||||
from CommonDataClass.FdfClass import VtfClassObject
|
||||
from Common.LongFilePathSupport import OpenLongFilePath as open
|
||||
T_CHAR_LF = '\n'
|
||||
|
||||
## generate VTF
|
||||
|
Reference in New Issue
Block a user