Navigation Menu

Skip to content

Commit

Permalink
1. Add the path of inf file itself to include path list.
Browse files Browse the repository at this point in the history
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1251 7335b38e-4728-0410-8992-fb3ffe349368
  • Loading branch information
hche10x committed Jun 11, 2008
1 parent c2edd62 commit d611ec9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/Python/Ecc/MetaDataParser.py
Expand Up @@ -37,6 +37,8 @@ def GetIncludeListOfFile(WorkSpace, Filepath, Db):
(select ID from File where FullPath = '%s') and Model = %s""" \
% (DecFullPath, MODEL_EFI_INCLUDE)
NewRecordSet = Db.TblDec.Exec(SqlCommand)
if DecPath not in IncludeList:
IncludeList.append(DecPath)
for NewRecord in NewRecordSet:
IncludePath = os.path.normpath(os.path.join(DecPath, NewRecord[0]))
if IncludePath not in IncludeList:
Expand Down

0 comments on commit d611ec9

Please sign in to comment.