Fixed a bug which will cause single module build fail
[mirror_edk2.git] / Tools / Java / Source / GenBuild / org / tianocore / build / global / GlobalData.java
index 77beb85..f941f4d 100644 (file)
@@ -303,6 +303,7 @@ public class GlobalData {
         Iterator iter = packageList.iterator();\r
         while (iter.hasNext()) {\r
             PackageIdentification pid = (PackageIdentification)iter.next();\r
+            moduleId.setPackage(pid);\r
             Spd spd = spdTable.get(pid);\r
             File tempMsaFile = null;\r
             if ((tempMsaFile = spd.getModuleFile(moduleId)) != null ) {\r