From: qouyang Date: Wed, 16 Aug 2006 06:22:43 +0000 (+0000) Subject: Fix EDKT 188. X-Git-Tag: edk2-stable201903~24582 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=c59963f51b2c394c2c5d20f910b697770b506936 Fix EDKT 188. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1291 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/GenCRC32SectionTask.java b/Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/GenCRC32SectionTask.java index 6754beb621..46a1120b88 100644 --- a/Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/GenCRC32SectionTask.java +++ b/Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/GenCRC32SectionTask.java @@ -102,7 +102,7 @@ public class GenCRC32SectionTask extends Task implements EfiDefine{ // command execution fail // log("ERROR = " + Integer.toHexString(revl)); -// LAH Added This Line + // LAH Added This Line throw new BuildException("GenCRC32Section failed!"); } } catch (Exception e) { diff --git a/Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/GenFvImageTask.java b/Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/GenFvImageTask.java index 78eabf9f8d..d0c4c5b637 100644 --- a/Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/GenFvImageTask.java +++ b/Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/GenFvImageTask.java @@ -87,7 +87,7 @@ public class GenFvImageTask extends Task implements EfiDefine{ throw new BuildException(e.getMessage()); } finally { if (exitCode != 0) { - //throw new BuildException("GenFvImage: failed to generate FV file!"); + throw new BuildException("GenFvImage: failed to generate FV file!"); } }