Fixed EDKT147, which will fail the single module build when a module is just defined for one ARCH in a platform which supports two ARCHs.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1118 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jwang36 2006-07-27 09:25:41 +00:00
parent ffac4bcb25
commit 342810920f
1 changed files with 5 additions and 4 deletions

View File

@ -240,11 +240,12 @@ public class GenBuildTask extends Ant {
//
// Whether the module is built before
//
if ((moduleId.isLibrary() == false && GlobalData.hasFpdModuleSA(fpdModuleId) == false)
|| GlobalData.isModuleBuilt(fpdModuleId)) {
if (moduleId.isLibrary() == false && GlobalData.hasFpdModuleSA(fpdModuleId) == false) {
System.out.println("\nWARNING: " + moduleId + " for " + archList[k] + " is not found in current platform\n");
continue;
} else if (GlobalData.isModuleBuilt(fpdModuleId)) {
return;
}
else {
} else {
GlobalData.registerBuiltModule(fpdModuleId);
}