mirror of https://github.com/acidanthera/audk.git
Removed the workaround code
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2224 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
d7f709c16a
commit
affa5a128c
|
@ -226,17 +226,13 @@ public class AutogenLibOrder {
|
|||
if (libInstanceConsumedBy.get(libInstanceList[i]).size() > 0 && libInstanceList[i].hasConstructor()) {
|
||||
EdkLog.log(EdkLog.EDK_ERROR, libInstanceList[i].getName()
|
||||
+ " with constructor has a circular dependency!");
|
||||
// throw new AutoGenException("Circular dependency in library instances is found!");
|
||||
throw new AutoGenException("Circular dependency in library instances is found!");
|
||||
}
|
||||
|
||||
if (!orderList.contains(libInstanceList[i])) {
|
||||
if (libInstanceList[i].getName().equals("UefiBootServicesTableLib")) {
|
||||
orderList.addFirst(libInstanceList[i]);
|
||||
} else {
|
||||
orderList.add(libInstanceList[i]);
|
||||
}
|
||||
}
|
||||
}
|
||||
return orderList;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue