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

View File

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