diff options
author | jwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-09-19 07:04:08 +0000 |
---|---|---|
committer | jwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-09-19 07:04:08 +0000 |
commit | 34f40a4aca2cb379ccbaaa9feb6fbcccefe1d8c5 (patch) | |
tree | 41d2631a5f621f3a6022b36fa32c04c52da1c18d /Tools/Source | |
parent | 77dd49a7d1a90fa4f4b6f45da344b1186de8e284 (diff) | |
download | edk2-platforms-34f40a4aca2cb379ccbaaa9feb6fbcccefe1d8c5.tar.xz |
Fixed an issue which will cause dependency check failure
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1558 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools/Source')
-rw-r--r-- | Tools/Source/GenBuild/org/tianocore/build/global/OnDependency.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Tools/Source/GenBuild/org/tianocore/build/global/OnDependency.java b/Tools/Source/GenBuild/org/tianocore/build/global/OnDependency.java index 84383151fa..173528ab39 100644 --- a/Tools/Source/GenBuild/org/tianocore/build/global/OnDependency.java +++ b/Tools/Source/GenBuild/org/tianocore/build/global/OnDependency.java @@ -73,6 +73,11 @@ public class OnDependency extends Task { return true;
}
+ if (targets.nameList.size() == 0) {
+ EdkLog.log(this, EdkLog.EDK_VERBOSE, "No target file found!");
+ return true;
+ }
+
Iterator dstIt = targets.nameList.iterator();
while (dstIt.hasNext()) {
String dstFileName = (String)dstIt.next();
@@ -106,6 +111,7 @@ public class OnDependency extends Task { }
}
+ EdkLog.log(this, EdkLog.EDK_VERBOSE, "Target files are up-to-date!");
return false;
}
|