1) Added dependency check for flashmap, genfvimage, peirebase tasks
2) Added code in FpdParserTask.java to avoid re-generate FV.inf file 3) Added isEmpty() to ToolArg class to check if an argument is empty or not git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1556 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -193,6 +193,12 @@ public class FpdParserTask extends Task {
|
||||
getProject().setProperty("FV_FILENAME", validFv[i]);
|
||||
|
||||
File fvFile = new File(getProject().replaceProperties( getProject().getProperty("FV_DIR") + File.separatorChar + validFv[i] + ".inf"));
|
||||
if (fvFile.exists() && (fvFile.lastModified() >= fpdFile.lastModified())) {
|
||||
//
|
||||
// don't re-generate FV.inf if fpd has not been changed
|
||||
//
|
||||
continue;
|
||||
}
|
||||
fvFile.getParentFile().mkdirs();
|
||||
|
||||
try {
|
||||
|
Reference in New Issue
Block a user