Fixed EDKT118
[mirror_edk2.git] / Tools / Source / GenBuild / org / tianocore / build / GenBuildTask.java
index 1f020b3cc15df0b17b2d66dd247f1901a25b8f4c..e968fce041ab36cf4eca61daa75e1fc8e9221367 100644 (file)
@@ -242,7 +242,7 @@ public class GenBuildTask extends Ant {
             //\r
             if ((moduleId.isLibrary() == false && GlobalData.hasFpdModuleSA(fpdModuleId) == false) \r
                 || GlobalData.isModuleBuilt(fpdModuleId)) {\r
-                continue;\r
+                return;\r
             }\r
             else {\r
                 GlobalData.registerBuiltModule(fpdModuleId);\r