summaryrefslogtreecommitdiff
path: root/Tools/Source
diff options
context:
space:
mode:
authorqouyang <qouyang@6f19259b-4bc3-4df7-8a09-765794883524>2006-09-25 15:18:01 +0000
committerqouyang <qouyang@6f19259b-4bc3-4df7-8a09-765794883524>2006-09-25 15:18:01 +0000
commit41df77e688c759a4f08a4b6231b7f8320575b0a7 (patch)
treedfa6820c71b5115cc3e555b5e2fbc5f0360b498a /Tools/Source
parent4353d8e1731d824627cd56489ed86b27671b449a (diff)
downloadedk2-41df77e688c759a4f08a4b6231b7f8320575b0a7.zip
edk2-41df77e688c759a4f08a4b6231b7f8320575b0a7.tar.gz
edk2-41df77e688c759a4f08a4b6231b7f8320575b0a7.tar.bz2
Fixed EDKT318
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1612 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools/Source')
-rw-r--r--Tools/Source/GenBuild/org/tianocore/build/autogen/AutoGen.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/Tools/Source/GenBuild/org/tianocore/build/autogen/AutoGen.java b/Tools/Source/GenBuild/org/tianocore/build/autogen/AutoGen.java
index a6af87f..5b6620b 100644
--- a/Tools/Source/GenBuild/org/tianocore/build/autogen/AutoGen.java
+++ b/Tools/Source/GenBuild/org/tianocore/build/autogen/AutoGen.java
@@ -1649,11 +1649,12 @@ public class AutoGen {
fileBuffer.append(libInstanceList.get(i)[0]);
fileBuffer.append("();\r\n");
fileBuffer.append(" VOID\r\n");
+ } else {
+ fileBuffer.append(" Status = ");
+ fileBuffer.append(libInstanceList.get(i)[0]);
+ fileBuffer.append("(ImageHandle, SystemTable);\r\n");
+ fileBuffer.append(" ASSERT_EFI_ERROR (Status);\r\n");
}
- fileBuffer.append(" Status = ");
- fileBuffer.append(libInstanceList.get(i)[0]);
- fileBuffer.append("(ImageHandle, SystemTable);\r\n");
- fileBuffer.append(" ASSERT_EFI_ERROR (Status);\r\n");
}
fileBuffer.append("}\r\n");
break;