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:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
|
@@ -540,7 +540,6 @@ public class GlobalData {
|
||||
}
|
||||
}
|
||||
return null;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user