private ToolArg baseAddr = new ToolArg();\r
//\r
// Fv.inf file\r
- // \r
+ //\r
private FileArg fvinfFile = new FileArg();\r
//\r
// map file\r
- // \r
+ //\r
private FileArg mapFile = new FileArg();\r
//\r
// Architecture\r
\r
/**\r
execute\r
- \r
+\r
PeiReBaseTask execute function is to assemble tool command line & execute\r
tool command line\r
- \r
+\r
@throws BuidException\r
**/\r
public void execute() throws BuildException {\r
if (mapFile.getValue().length() == 0) {\r
mapFile.setArg(" -M ", outputFile.getValue() + ".map");\r
}\r
- argument = "" + inputFile + outputFile + baseAddr + fvinfFile + mapFile;\r
+ argument = "" + inputFile + outputFile + baseAddr + fvinfFile;\r
\r
//\r
// return value of fwimage execution\r
// Set debug log information.\r
//\r
EdkLog.log(this, EdkLog.EDK_VERBOSE, Commandline.toString(cmdline.getCommandline()));\r
- EdkLog.log(this, EdkLog.EDK_INFO, inputFile.toFileList() + " => " \r
+ EdkLog.log(this, EdkLog.EDK_INFO, inputFile.toFileList() + " => "\r
+ outputFile.toFileList()\r
+ mapFile.toFileList());\r
\r
\r
/**\r
getInputFile\r
- \r
+\r
This function is to get class member "inputFile".\r
- \r
+\r
@return string of input file name.\r
**/\r
public String getInputFile() {\r
\r
/**\r
setComponentType\r
- \r
+\r
This function is to set class member "inputFile".\r
- \r
+\r
@param inputFile\r
string of input file name.\r
**/\r
\r
/**\r
getOutputFile\r
- \r
+\r
This function is to get class member "outputFile"\r
- \r
+\r
@return outputFile string of output file name.\r
**/\r
public String getOutputFile() {\r
\r
/**\r
setOutputFile\r
- \r
+\r
This function is to set class member "outputFile"\r
- \r
+\r
@param outputFile\r
string of output file name.\r
**/\r
\r
/**\r
getBaseAddr\r
- \r
+\r
This function is to get class member "baseAddr"\r
- \r
+\r
@return baseAddr string of base address.\r
**/\r
public String getBaseAddr() {\r
\r
/**\r
setBaseAddr\r
- \r
+\r
This function is to set class member "baseAddr"\r
- \r
+\r
@param baseAddr string of base address\r
**/\r
public void setBaseAddr(String baseAddr) {\r
\r
/**\r
getArch\r
- \r
+\r
This function is to get class member "arch".\r
- \r
+\r
@return arch Architecture\r
**/\r
public String getArch() {\r
\r
/**\r
setArch\r
- \r
+\r
This function is to set class member "arch"\r
- \r
+\r
@param arch Architecture\r
**/\r
public void setArch(String arch) {\r
\r
//\r
// Dependency check\r
- // \r
+ //\r
private boolean isUptodate() {\r
File srcFile = new File(inputFile.getValue());\r
File dstFile = new File(outputFile.getValue());\r