diff options
author | Hess Chen <hesheng.chen@intel.com> | 2014-09-22 07:37:28 +0000 |
---|---|---|
committer | hchen30 <hchen30@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-09-22 07:37:28 +0000 |
commit | e7ae4a7cb32f8d8a2c14f3fd80138944184789e1 (patch) | |
tree | 342cd478a0fdc3bf4bcbec98bdaaaf1ceff0efdd /BaseTools | |
parent | 875cc5bb9710ca63c91d5b74b2653c6804a07923 (diff) | |
download | edk2-platforms-e7ae4a7cb32f8d8a2c14f3fd80138944184789e1.tar.xz |
BaseTools/ECC: Ignore duplicate check for 'NULL' library
Update a checkpoint to ignore duplicate check for 'NULL' library
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@16154 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'BaseTools')
-rw-r--r-- | BaseTools/Source/Python/Ecc/Check.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/Ecc/Check.py b/BaseTools/Source/Python/Ecc/Check.py index 11a06ecc02..cfa96c156e 100644 --- a/BaseTools/Source/Python/Ecc/Check.py +++ b/BaseTools/Source/Python/Ecc/Check.py @@ -686,7 +686,7 @@ class Check(object): % (MODEL_EFI_LIBRARY_CLASS, MODEL_EFI_LIBRARY_CLASS)
RecordSet = EccGlobalData.gDb.TblDsc.Exec(SqlCommand)
for Record in RecordSet:
- if Record[3] and Record[4] and Record[3] != Record[4]:
+ if Record[3] and Record[4] and Record[3] != Record[4] and Record[1] != 'NULL':
SqlCommand = """select FullPath from File where ID = %s""" % (Record[2])
FilePathList = EccGlobalData.gDb.TblFile.Exec(SqlCommand)
for FilePath in FilePathList:
|