diff options
-rw-r--r-- | Tools/Source/GenBuild/org/tianocore/build/fpd/FpdParserTask.java | 4 |
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);
}
|