mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-25 06:34:30 +02:00
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:
parent
ffac4bcb25
commit
342810920f
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user