From: jwang36 Date: Mon, 6 Nov 2006 05:10:56 +0000 (+0000) Subject: Changed the tool chain error message to be more specific. X-Git-Tag: edk2-stable201903~23976 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=015849a4508ec793072dd648264c0f142f7db645 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 --- 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 , 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 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 , 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."); } } }