mirror of https://github.com/acidanthera/audk.git
Removed the BASE type as any type in the check of SupModuleList in getLibraryClasses()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2290 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
f0a3fde160
commit
2b955487b6
|
@ -613,8 +613,7 @@ public class SurfaceAreaQuery {
|
|||
List archList = libraryClassList[i].getSupArchList();
|
||||
List moduleTypeList = libraryClassList[i].getSupModuleList();
|
||||
if ((arch == null || contains(archList, arch))
|
||||
&& (moduleType == null || contains(moduleTypeList, moduleType)
|
||||
|| contains(moduleTypeList, EdkDefinitions.MODULE_TYPE_BASE))) {
|
||||
&& (moduleType == null || contains(moduleTypeList, moduleType))) {
|
||||
libraryClassName.add(libraryClassList[i].getKeyword());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue