diff options
-rwxr-xr-x | BaseTools/Bin/Win32/GenFv.exe | bin | 94208 -> 98304 bytes | |||
-rwxr-xr-x | BaseTools/Bin/Win32/GenFw.exe | bin | 73728 -> 81920 bytes | |||
-rw-r--r-- | BaseTools/Conf/build_rule.template | 12 |
3 files changed, 11 insertions, 1 deletions
diff --git a/BaseTools/Bin/Win32/GenFv.exe b/BaseTools/Bin/Win32/GenFv.exe Binary files differindex 38417c599f..a46e5e6b1c 100755 --- a/BaseTools/Bin/Win32/GenFv.exe +++ b/BaseTools/Bin/Win32/GenFv.exe diff --git a/BaseTools/Bin/Win32/GenFw.exe b/BaseTools/Bin/Win32/GenFw.exe Binary files differindex 857ffbeddd..10834538d2 100755 --- a/BaseTools/Bin/Win32/GenFw.exe +++ b/BaseTools/Bin/Win32/GenFw.exe diff --git a/BaseTools/Conf/build_rule.template b/BaseTools/Conf/build_rule.template index eee3e0df48..a45bf1f800 100644 --- a/BaseTools/Conf/build_rule.template +++ b/BaseTools/Conf/build_rule.template @@ -25,6 +25,7 @@ FileTypeMapping = { ".dxs" : "Dependency-Expression", ".Dxs" : "Dependency-Expression", ".DXS" : "Dependency-Expression", + ".TXT" : "MicorCode-Text", ".fv" : "FirmwareVolume", ".Fv" : "FirmwareVolume", ".FV" : "FirmwareVolume", @@ -66,6 +67,7 @@ ObjectFileMapping = { "Acpi-Source-Language" : ".aml", "Acpi-Table-Source" : ".acpi", "Masm16-Code" : ".com", + "MicorCode-Text" : ".bin", } DefaultToolCode = ["CC", "ASM", "SLINK", "DLINK", "PCH", "PP", "ASL", "ASMLINK"] @@ -104,6 +106,7 @@ ToolChainFamilyMapping = { "Acpi-Source-Language" : ["MSFT", "INTEL"], "Acpi-Table-Source" : ["MSFT", "INTEL"], "Masm16-Code" : ["MSFT"], + "MicorCode-Text" : ["MSFT", "INTEL"], } ## Build rules for makefile @@ -173,11 +176,18 @@ ${END}\t"$(CC)" /Fo$(@D)${_sep_}${fbase}.obj $(CC_FLAGS) $(INC) $(WORKSPACE)${_s "Masm16-Code" : '''\ $(OUTPUT_DIR)${_sep_}${fdir}${_sep_}${fbase}.com : $(COMMON_DEPS) -\tpushd . +${BEGIN}$(OUTPUT_DIR)${_sep_}${fdir}${_sep_}${fbase}.com : $(WORKSPACE)${_sep_}${fdep} +${END}\tpushd . \tcd $(OUTPUT_DIR)${_sep_}${fdir} \t"$(ASM)" /nologo /omf $(WORKSPACE)${_sep_}${fpath} /Bl"$(ASMLINK)" $(ASMLINK_FLAGS) \t-copy ${fbase}.com $(OUTPUT_DIR)${_sep_}${fbase}.com /Y & popd ''', + +"MicorCode-Text" : '''\ +$(OUTPUT_DIR)${_sep_}${fdir}${_sep_}${fbase}.bin : $(COMMON_DEPS) +${BEGIN}$(OUTPUT_DIR)${_sep_}${fdir}${_sep_}${fbase}.bin : $(WORKSPACE)${_sep_}${fdep} +${END}\tGenFw -o $@ -m $(WORKSPACE)${_sep_}${fpath} +''', }, # |