Add warning message for single module build if multi-thread enabled.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1527 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
wuyizhong 2006-09-13 07:14:54 +00:00
parent d3945b9d4c
commit d8956f143e
1 changed files with 4 additions and 1 deletions

View File

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