Fix cleanall can't clean all genereated files. Now .i files generated by VfrCompile move to module out put dir and Platform_build.xml will be removed in cleanall. Also adjust some code format.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1321 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
wuyizhong
2006-08-18 08:06:02 +00:00
parent 4b5f554990
commit caa44816dd
7 changed files with 25 additions and 9 deletions

View File

@@ -179,6 +179,18 @@ public class FrameworkBuildTask extends Task{
fpdParserTask.setProject(getProject());
fpdParserTask.setFpdFile(buildFile);
fpdParserTask.execute();
//
// If cleanall delete the Platform_build.xml
//
if (type.compareTo("cleanall") == 0) {
File platformBuildFile =
new File(getProject().getProperty("PLATFORM_DIR")
+ File.separatorChar
+ getProject().getProperty("PLATFORM")
+ "_build.xml");
platformBuildFile.deleteOnExit();
}
}
//

View File

@@ -540,7 +540,6 @@ public class GlobalData {
}
}
return null;
}
/**

View File

@@ -328,7 +328,10 @@ public class ToolChainInfo {
@return String
**/
public String toString() {
return targets + "\n" + tagnames + "\n" + archs + "\n" + commands;
return " TARGET :" + targets + "\n" +
" TAGNAME:" + tagnames + "\n" +
" ARCH :" + archs + "\n" +
" COMMAND:" + commands;
}
/**