Fixed Enumeration ModuleType was suppose to be TOOL, not TOOLS.
[mirror_edk2.git] / Tools / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / common / EnumerationData.java
index 2fc8b0268b9352de692672255402602501a50e81..b14c86f10a4c4ce584788b7290859c81a1a46908 100644 (file)
@@ -20,6 +20,8 @@ public class EnumerationData {
     //\r
     // Static data\r
     //\r
     //\r
     // Static data\r
     //\r
+    public final static String EXTERNS_PCD_IS_DRIVER = "Pcd Is Driver";\r
+    \r
     public final static String EXTERNS_SPECIFICATION = "Specification";\r
     \r
     public final static String EXTERNS_MODULE_ENTRY_POINT = "ModuleEntryPoint";\r
     public final static String EXTERNS_SPECIFICATION = "Specification";\r
     \r
     public final static String EXTERNS_MODULE_ENTRY_POINT = "ModuleEntryPoint";\r
@@ -301,7 +303,7 @@ public class EnumerationData {
         vModuleType.addElement("DXE_RUNTIME_DRIVER");\r
         vModuleType.addElement("DXE_SAL_DRIVER");\r
         vModuleType.addElement("DXE_SMM_DRIVER");\r
         vModuleType.addElement("DXE_RUNTIME_DRIVER");\r
         vModuleType.addElement("DXE_SAL_DRIVER");\r
         vModuleType.addElement("DXE_SMM_DRIVER");\r
-        vModuleType.addElement("TOOLS");\r
+        vModuleType.addElement("TOOL");\r
         vModuleType.addElement("UEFI_DRIVER");\r
         vModuleType.addElement("UEFI_APPLICATION");\r
         vModuleType.addElement("USER_DEFINED");\r
         vModuleType.addElement("UEFI_DRIVER");\r
         vModuleType.addElement("UEFI_APPLICATION");\r
         vModuleType.addElement("USER_DEFINED");\r
@@ -356,7 +358,7 @@ public class EnumerationData {
         vFrameworkModuleTypes.addElement("DXE_RUNTIME_DRIVER");\r
         vFrameworkModuleTypes.addElement("DXE_SAL_DRIVER");\r
         vFrameworkModuleTypes.addElement("DXE_SMM_DRIVER");\r
         vFrameworkModuleTypes.addElement("DXE_RUNTIME_DRIVER");\r
         vFrameworkModuleTypes.addElement("DXE_SAL_DRIVER");\r
         vFrameworkModuleTypes.addElement("DXE_SMM_DRIVER");\r
-        vFrameworkModuleTypes.addElement("TOOLS");\r
+        vFrameworkModuleTypes.addElement("TOOL");\r
         vFrameworkModuleTypes.addElement("UEFI_DRIVER");\r
         vFrameworkModuleTypes.addElement("UEFI_APPLICATION");\r
         vFrameworkModuleTypes.addElement("USER_DEFINED");\r
         vFrameworkModuleTypes.addElement("UEFI_DRIVER");\r
         vFrameworkModuleTypes.addElement("UEFI_APPLICATION");\r
         vFrameworkModuleTypes.addElement("USER_DEFINED");\r
@@ -647,6 +649,9 @@ public class EnumerationData {
     \r
     private void initExternTypes() {\r
         vExternTypes.removeAllElements();\r
     \r
     private void initExternTypes() {\r
         vExternTypes.removeAllElements();\r
+        \r
+        vExternTypes.addElement(EnumerationData.EXTERNS_PCD_IS_DRIVER);\r
+\r
         vExternTypes.addElement(EnumerationData.EXTERNS_SPECIFICATION);\r
         \r
         vExternTypes.addElement(EnumerationData.EXTERNS_MODULE_ENTRY_POINT);\r
         vExternTypes.addElement(EnumerationData.EXTERNS_SPECIFICATION);\r
         \r
         vExternTypes.addElement(EnumerationData.EXTERNS_MODULE_ENTRY_POINT);\r