summaryrefslogtreecommitdiff
path: root/Tools/Java
diff options
context:
space:
mode:
authorjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>2006-11-06 05:10:56 +0000
committerjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>2006-11-06 05:10:56 +0000
commit015849a4508ec793072dd648264c0f142f7db645 (patch)
tree5afa915e23010ed461257c31d14d531b397fa4fb /Tools/Java
parent3681d193ed5433c142fa05debc2ccb66cbd9b63a (diff)
downloadedk2-platforms-015849a4508ec793072dd648264c0f142f7db645.tar.xz
Changed the tool chain error message to be more specific.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1901 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools/Java')
-rw-r--r--Tools/Java/Source/GenBuild/org/tianocore/build/fpd/FpdParserTask.java15
1 files changed, 11 insertions, 4 deletions
diff --git a/Tools/Java/Source/GenBuild/org/tianocore/build/fpd/FpdParserTask.java b/Tools/Java/Source/GenBuild/org/tianocore/build/fpd/FpdParserTask.java
index 7d86c64a2d..719359af59 100644
--- a/Tools/Java/Source/GenBuild/org/tianocore/build/fpd/FpdParserTask.java
+++ b/Tools/Java/Source/GenBuild/org/tianocore/build/fpd/FpdParserTask.java
@@ -780,19 +780,26 @@ public class FpdParserTask extends Task {
ToolChainInfo toolChainInfo = GlobalData.getToolChainInfo();
if (toolChainInfo.getTargets().length == 0) {
- throw new EdkException("No valid target specified! Please check your TARGET definition in Tools/Conf/target.txt.");
+ throw new EdkException("No valid target found! "+
+ "Please check the TARGET definition in Tools/Conf/target.txt, "+
+ "or the <BuildTarget>, <BuildOptions> in the FPD file.");
}
if (toolChainInfo.getTagnames().length == 0) {
- throw new EdkException("No valid tool chain specified! Please check your TOOL_CHAIN_TAG definition in Tools/Conf/target.txt.");
+ throw new EdkException("No valid tool chain found! "+
+ "Please check the TOOL_CHAIN_TAG definition in Tools/Conf/target.txt, "+
+ "or the <BuildOptions> in the FPD file.");
}
if (toolChainInfo.getArchs().length == 0) {
- throw new EdkException("No valid ARCH specified! Please check your TARGET_ARCH definition in Tools/Conf/target.txt.");
+ throw new EdkException("No valid architecture found! "+
+ "Please check the TARGET_ARCH definition in Tools/Conf/target.txt, "+
+ "or the <SupportedArchitectures>, <BuildOptions> in the FPD file.");
}
if (toolChainInfo.getCommands().length == 0) {
- throw new EdkException("No valid COMMAND specified! Please check your TARGET definition in Tools/Conf/tools_def.txt.");
+ throw new EdkException("No valid COMMAND found! Please check the tool chain definitions "+
+ "in Tools/Conf/tools_def.txt.");
}
}
}