]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Add warning message for single module build if multi-thread enabled.
authorwuyizhong <wuyizhong@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 13 Sep 2006 07:14:54 +0000 (07:14 +0000)
committerwuyizhong <wuyizhong@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 13 Sep 2006 07:14:54 +0000 (07:14 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1527 6f19259b-4bc3-4df7-8a09-765794883524

Tools/Source/GenBuild/org/tianocore/build/FrameworkBuildTask.java

index d1bf1cc90aa3107b6aa057386666413bb5aa398f..440510b522dbb106969ba8a1550e57d7a73f3c73 100644 (file)
@@ -275,7 +275,10 @@ public class FrameworkBuildTask extends Task{
         // Build every MSA files (SINGLE MODULE BUILD)\r
         //\r
         else if (buildFile.getName().endsWith(ToolDefinitions.MSA_EXTENSION)) {\r
-            multithread = false; \r
+            if (multithread) {\r
+                EdkLog.log(this, EdkLog.EDK_WARNING, "Multi-Thead do not take effect on Stand-Alone (Single) module build. ");\r
+                multithread = false;\r
+            }\r
             File tmpFile = new File(GlobalData.getWorkspacePath() + File.separatorChar + activePlatform);\r
             EdkLog.log(this, "Using the FPD file [" + tmpFile.getPath() + "] for the active platform. ");\r
             EdkLog.log(this, "Processing the MSA file [" + buildFile.getPath() + "] ..>> ");\r