summaryrefslogtreecommitdiff
path: root/Tools/Source
diff options
context:
space:
mode:
authorwuyizhong <wuyizhong@6f19259b-4bc3-4df7-8a09-765794883524>2006-08-25 03:01:17 +0000
committerwuyizhong <wuyizhong@6f19259b-4bc3-4df7-8a09-765794883524>2006-08-25 03:01:17 +0000
commit80eb97ffc03f4af85f77325a64afbdfb52b8c4f9 (patch)
tree1a426c0baa27b098e7b58c9b427f7ab24cc2ceea /Tools/Source
parent2e482fb5d525d71f4457c3996150255b85d670e2 (diff)
downloadedk2-80eb97ffc03f4af85f77325a64afbdfb52b8c4f9.zip
edk2-80eb97ffc03f4af85f77325a64afbdfb52b8c4f9.tar.gz
edk2-80eb97ffc03f4af85f77325a64afbdfb52b8c4f9.tar.bz2
Fix EDKT212.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1385 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools/Source')
-rw-r--r--Tools/Source/GenBuild/org/tianocore/build/fpd/FpdParserTask.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/Source/GenBuild/org/tianocore/build/fpd/FpdParserTask.java b/Tools/Source/GenBuild/org/tianocore/build/fpd/FpdParserTask.java
index 9a7581d..f0b1f02 100644
--- a/Tools/Source/GenBuild/org/tianocore/build/fpd/FpdParserTask.java
+++ b/Tools/Source/GenBuild/org/tianocore/build/fpd/FpdParserTask.java
@@ -433,7 +433,7 @@ public class FpdParserTask extends Task {
private ToolChainMap parseModuleBuildOptions(boolean toolChainFamilyFlag) throws EdkException {
String[][] options = SurfaceAreaQuery.getModuleBuildOptions(toolChainFamilyFlag);
if (options == null || options.length == 0) {
- return null;
+ return new ToolChainMap();
}
return parseOptions(options);
}
@@ -441,7 +441,7 @@ public class FpdParserTask extends Task {
private ToolChainMap parsePlatformBuildOptions(boolean toolChainFamilyFlag) throws EdkException {
String[][] options = SurfaceAreaQuery.getPlatformBuildOptions(toolChainFamilyFlag);
if (options == null || options.length == 0) {
- return null;
+ return new ToolChainMap();
}
return parseOptions(options);
}