diff options
author | jwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-03-15 02:47:24 +0000 |
---|---|---|
committer | jwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-03-15 02:47:24 +0000 |
commit | 8c8b94e252c4c17722f1092df10a35ea9f7b254e (patch) | |
tree | 410e9509244d035426eaac7e1a0226ef04cc2b37 /Tools/Java/Source/GenBuild | |
parent | e5f461a8507ffcc89cd99ca43a09b76dca136ab5 (diff) | |
download | edk2-platforms-8c8b94e252c4c17722f1092df10a35ea9f7b254e.tar.xz |
Fixed EDKT538; Removed the some code generation for UEFI_APPLICATION type of module. Refer to EDKT538 for details.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2471 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools/Java/Source/GenBuild')
-rw-r--r-- | Tools/Java/Source/GenBuild/org/tianocore/build/autogen/AutoGen.java | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Tools/Java/Source/GenBuild/org/tianocore/build/autogen/AutoGen.java b/Tools/Java/Source/GenBuild/org/tianocore/build/autogen/AutoGen.java index e3e6ff54fe..b1414a7c75 100644 --- a/Tools/Java/Source/GenBuild/org/tianocore/build/autogen/AutoGen.java +++ b/Tools/Java/Source/GenBuild/org/tianocore/build/autogen/AutoGen.java @@ -430,8 +430,9 @@ public class AutoGen { // DriverBinding/ComponentName/DriverConfiguration/DriverDialog
// to AutoGen.c
//
-
- ExternsDriverBindingToAutoGenC(fileBuffer);
+ if (!moduleId.getModuleType().equalsIgnoreCase("UEFI_APPLICATION")) {
+ ExternsDriverBindingToAutoGenC(fileBuffer);
+ }
//
// Write DriverExitBootServicesEvent/DriverSetVirtualAddressMapEvent
@@ -1133,6 +1134,9 @@ public class AutoGen { fileBuffer.append("}\r\n\r\n");
}
+ if (CommonDefinition.getModuleType(typeStr) == CommonDefinition.ModuleTypeUefiApplication) {
+ break;
+ }
//
// Add ModuleUnloadImage for DxeDriver and UefiDriver module type.
//
@@ -1950,7 +1954,6 @@ public class AutoGen { case CommonDefinition.ModuleTypeDxeRuntimeDriver:
case CommonDefinition.ModuleTypeDxeSalDriver:
case CommonDefinition.ModuleTypeUefiDriver:
- case CommonDefinition.ModuleTypeUefiApplication:
//
// If moduleType is one of above, call setVirtualAddressToAutogenC,
// and setExitBootServiceToAutogenC.
|