summaryrefslogtreecommitdiff
path: root/BaseTools/Conf
diff options
context:
space:
mode:
authorjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>2009-05-03 06:40:59 +0000
committerjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>2009-05-03 06:40:59 +0000
commit15543340da6cf1cb3f6047c8bf6c5426a93e52f1 (patch)
treea4f698961f2d8bea8c5dcb31a2b9bdc5d826a7b0 /BaseTools/Conf
parentc470d831429894bb70c5ac31dc191d05036607a6 (diff)
downloadedk2-15543340da6cf1cb3f6047c8bf6c5426a93e52f1.zip
edk2-15543340da6cf1cb3f6047c8bf6c5426a93e52f1.tar.gz
edk2-15543340da6cf1cb3f6047c8bf6c5426a93e52f1.tar.bz2
Implemented feature request hsd202262 and incorporated SMM support
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8229 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'BaseTools/Conf')
-rw-r--r--BaseTools/Conf/build_rule.template11
-rw-r--r--BaseTools/Conf/tools_def.template6
2 files changed, 17 insertions, 0 deletions
diff --git a/BaseTools/Conf/build_rule.template b/BaseTools/Conf/build_rule.template
index 3e3e379..27ebc20 100644
--- a/BaseTools/Conf/build_rule.template
+++ b/BaseTools/Conf/build_rule.template
@@ -380,3 +380,14 @@
$(DEBUG_DIR)(+)$(MODULE_NAME)StrDefs.h
<Command>
+
+[Efi-Image.UEFI_OPTIONROM]
+ <InputFile>
+ ?.efi, ?.EFI, ?.Efi
+
+ <OutputFile>
+ $(BIN_DIR)(+)$(MODULE_NAME).rom
+
+ <Command>
+ $(OPTROM) -i $(PCI_DEVICE_ID) -f $(PCI_VENDOR_ID) -l $(PCI_CLASS_CODE) -o $dst $(OPTROM_FLAGS) $src
+
diff --git a/BaseTools/Conf/tools_def.template b/BaseTools/Conf/tools_def.template
index 113f4e2..2b0d2d7 100644
--- a/BaseTools/Conf/tools_def.template
+++ b/BaseTools/Conf/tools_def.template
@@ -2029,6 +2029,12 @@ RELEASE_MYTOOLS_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT
*_*_*_VFR_FLAGS = -l -n
##################
+# OptionRom tool definitions
+##################
+*_*_*_OPTROM_PATH = EfiRom
+*_*_*_OPTROM_FLAGS = -e
+
+##################
# Asl Compiler definitions
##################
*_*_*_ASLCC_FLAGS = /GL- /Y- /TC /Dmain=ReferenceAcpiTable