Sync BaseTool trunk (version r2649) into EDKII BaseTools.
Signed-off-by: Gao, Liming <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15188 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -80,11 +80,11 @@ class EfiSection (EfiSectionClassObject):
|
||||
FileList = []
|
||||
if Filename != None:
|
||||
Filename = GenFdsGlobalVariable.MacroExtend(Filename, Dict)
|
||||
# check if the path is absolute or relative
|
||||
if os.path.isabs(Filename):
|
||||
Filename = os.path.normpath(Filename)
|
||||
else:
|
||||
Filename = os.path.normpath(os.path.join(FfsInf.EfiOutputPath, Filename))
|
||||
# check if the path is absolute or relative
|
||||
if os.path.isabs(Filename):
|
||||
Filename = os.path.normpath(Filename)
|
||||
else:
|
||||
Filename = os.path.normpath(os.path.join(FfsInf.EfiOutputPath, Filename))
|
||||
|
||||
if not self.Optional:
|
||||
FileList.append(Filename)
|
||||
|
Reference in New Issue
Block a user