summaryrefslogtreecommitdiff
path: root/Tools/Source/GenBuild
diff options
context:
space:
mode:
authorjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>2006-07-27 09:25:41 +0000
committerjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>2006-07-27 09:25:41 +0000
commit342810920f770d7f2ad8c05507d2d6a4515dbafc (patch)
tree8933f0d49e065c33d0e37f793200d8ebdf28c70c /Tools/Source/GenBuild
parentffac4bcb25805baa981cf05d581b2e03d073e5a1 (diff)
downloadedk2-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.java9
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);
}