1. Support EDK DXE_SMM_DRIVER module type.
authorlgao4 <lgao4@7335b38e-4728-0410-8992-fb3ffe349368>
Tue, 1 Dec 2009 06:20:22 +0000 (06:20 +0000)
committerlgao4 <lgao4@7335b38e-4728-0410-8992-fb3ffe349368>
Tue, 1 Dec 2009 06:20:22 +0000 (06:20 +0000)
2. Add build rule for microcode .inc file.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1757 7335b38e-4728-0410-8992-fb3ffe349368

Conf/build_rule.template
Source/Python/Workspace/WorkspaceDatabase.py

index 434b84a..c48f8d7 100644 (file)
       otool -t $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.slib | hex2bin.py ${dst}\r
       \r
 \r
-[Microcode-File]\r
+[Microcode-File.USER_DEFINED, Microcode-File.Microcode]\r
     <InputFile>\r
-        ?.txt, ?.TXT, ?.Txt, ?.mut\r
+        ?.txt, ?.TXT, ?.Txt, ?.mut, ?.inc\r
 \r
     <OutputFile>\r
         $(OUTPUT_DIR)(+)${s_base}.mcb\r
index d3aaa14..11b6496 100644 (file)
@@ -1115,6 +1115,7 @@ class InfBuildData(ModuleBuildClassObject):
         "BS_DRIVER"             :   "DXE_DRIVER",
         "RT_DRIVER"             :   "DXE_RUNTIME_DRIVER",
         "SAL_RT_DRIVER"         :   "DXE_SAL_DRIVER",
+        "DXE_SMM_DRIVER"        :   "DXE_SMM_DRIVER",
     #    "SMM_DRIVER"            :   "DXE_SMM_DRIVER",
     #    "BS_DRIVER"             :   "DXE_SMM_DRIVER",
     #    "BS_DRIVER"             :   "UEFI_DRIVER",