diff options
author | jwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-07-27 09:25:41 +0000 |
---|---|---|
committer | jwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-07-27 09:25:41 +0000 |
commit | 342810920f770d7f2ad8c05507d2d6a4515dbafc (patch) | |
tree | 8933f0d49e065c33d0e37f793200d8ebdf28c70c /Tools/Source/GenBuild | |
parent | ffac4bcb25805baa981cf05d581b2e03d073e5a1 (diff) | |
download | edk2-342810920f770d7f2ad8c05507d2d6a4515dbafc.zip edk2-342810920f770d7f2ad8c05507d2d6a4515dbafc.tar.gz edk2-342810920f770d7f2ad8c05507d2d6a4515dbafc.tar.bz2 |
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
Diffstat (limited to 'Tools/Source/GenBuild')
-rw-r--r-- | Tools/Source/GenBuild/org/tianocore/build/GenBuildTask.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Tools/Source/GenBuild/org/tianocore/build/GenBuildTask.java b/Tools/Source/GenBuild/org/tianocore/build/GenBuildTask.java index e968fce..04ebc5c 100644 --- a/Tools/Source/GenBuild/org/tianocore/build/GenBuildTask.java +++ b/Tools/Source/GenBuild/org/tianocore/build/GenBuildTask.java @@ -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);
}
|