diff options
author | bxing <bxing@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-06-15 10:23:48 +0000 |
---|---|---|
committer | bxing <bxing@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-06-15 10:23:48 +0000 |
commit | fe3262a335f3b244ea67626229a4e5368f0c34ad (patch) | |
tree | 760085a735be7e24c0dd3c51786d6446c2d7daa3 /Tools/Conf | |
parent | a236f1a1276279d11bce7990e527e6abf48fa579 (diff) | |
download | edk2-platforms-fe3262a335f3b244ea67626229a4e5368f0c34ad.tar.xz |
Updated task GenEfi to support SEC component type.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@524 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools/Conf')
-rw-r--r-- | Tools/Conf/BuildMacro.xml | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/Tools/Conf/BuildMacro.xml b/Tools/Conf/BuildMacro.xml index 748f527f58..4446d59847 100644 --- a/Tools/Conf/BuildMacro.xml +++ b/Tools/Conf/BuildMacro.xml @@ -295,10 +295,14 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. </command>
</cc>
<replaceregexp file="${DEST_DIR_DEBUG}/@{FILEPATH}/@{FILENAME}.i"
- match="^(#line\ +1\ +.*@{FILEPATH}/@{FILENAME}\.@{FILEEXT}").+\1"
+ match="^(#line +1 +.*@{FILEPATH}/@{FILENAME}\.@{FILEEXT}").+\1"
replace="; Source: ${MODULE_DIR}/@{FILEPATH}/@{FILENAME}.@{FILEEXT}"
flags="gs"/>
<replaceregexp file="${DEST_DIR_DEBUG}/@{FILEPATH}/@{FILENAME}.i"
+ match="^(#line .*)$"
+ replace="; \1"
+ byline="true"/>
+ <replaceregexp file="${DEST_DIR_DEBUG}/@{FILEPATH}/@{FILENAME}.i"
match="([^_a-zA-Z])0x([0-9a-fA-F]+)"
replace="\10\2h"
flags="g"
@@ -799,6 +803,12 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. </targetfiles>
<sequential>
+ <if>
+ <equals arg1="${COMPONENT_TYPE}" arg2="SEC"/>
+ <then>
+ <var name="COMPONENT_TYPE" value="SECURITY_CORE"/>
+ </then>
+ </if>
<fwimage componenttype="${COMPONENT_TYPE}" outImage="${DEST_DIR_OUTPUT}/@{FILENAME}.efi"
peImage="${DEST_DIR_DEBUG}/@{FILEPATH}/@{FILENAME}.@{FILEEXT}" time="0"/>
<copy file="${DEST_DIR_OUTPUT}/@{FILENAME}.efi" tofile="${DEST_DIR_DEBUG}/@{FILENAME}.efi" />
|