- Fixed EDKT513 by adding existing section files into the dependency check of genffsf...
[mirror_edk2.git] / Tools / Java / Source / GenBuild / org / tianocore / build / ModuleBuildFileGenerator.java
index da6847d..9c65d67 100644 (file)
@@ -423,7 +423,8 @@ public class ModuleBuildFileGenerator {
         //\r
         // Parse AutoGen.c & AutoGen.h\r
         //\r
-        if ( ! fpdModuleId.getModule().getName().equalsIgnoreCase("Shell")) {\r
+        if (!fpdModuleId.getModule().isLibrary()\r
+            && !fpdModuleId.getModule().getName().equalsIgnoreCase("Shell")) {\r
             fileProcess.parseFile(project.getProperty("DEST_DIR_DEBUG") + File.separatorChar + "AutoGen.c", null, root, false);\r
         }\r
         \r