diff options
author | jwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-06-01 14:46:11 +0000 |
---|---|---|
committer | jwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-06-01 14:46:11 +0000 |
commit | 8b41e66e1eaa5b81bd8feef55662d6e349d8cdc0 (patch) | |
tree | 00e708aa58c82723565870bdd8213e647dc96726 /Tools | |
parent | 9f3a4be8abbbc63f8894e6759e832787d0a23949 (diff) | |
download | edk2-8b41e66e1eaa5b81bd8feef55662d6e349d8cdc0.zip edk2-8b41e66e1eaa5b81bd8feef55662d6e349d8cdc0.tar.gz edk2-8b41e66e1eaa5b81bd8feef55662d6e349d8cdc0.tar.bz2 |
- added process to generate *local.lib and let the .dll be generated from it other than the .obj files directly.
- added <copy> task to GenEfi macro to copy generated .efi file to the same directory as .dll file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@366 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/Conf/BuildMacro.xml | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/Tools/Conf/BuildMacro.xml b/Tools/Conf/BuildMacro.xml index b3a6ff1..93adcae 100644 --- a/Tools/Conf/BuildMacro.xml +++ b/Tools/Conf/BuildMacro.xml @@ -675,15 +675,23 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. <sequential>
<cc userdefine="on">
+ <command type="LIB">
+ <argument value="${LIB_FLAGS}"/>
+ <FileList dir="" files="${OBJECTS}"/>
+ <LIB.ARG/>
+ <OutputFile value="${DEST_DIR_OUTPUT}\@{FILEPATH}\@{FILENAME}Local.lib"/>
+ </command>
+ </cc>
+ <cc userdefine="on">
<command type="LINK">
<argument value="${LINK_FLAGS}"/>
- <libset libs="${LIBS}"/>
+ <libset libs="${LIBS} ${DEST_DIR_OUTPUT}\@{FILEPATH}\@{FILENAME}Local.lib"/>
<LINK.ARG/>
<EntryPoint value="_ModuleEntryPoint"/>
<map value="${DEST_DIR_OUTPUT}/@{FILEPATH}/@{FILENAME}.map"/>
<pdb value="${DEST_DIR_DEBUG}/@{FILEPATH}/@{FILENAME}.pdb"/>
<OutputFile value="${DEST_DIR_DEBUG}/@{FILEPATH}/@{FILENAME}.dll"/>
- <FileList dir="" files="${OBJECTS}"/>
+ <!-- <FileList dir="" files="${OBJECTS}"/> -->
</command>
</cc>
</sequential>
@@ -711,6 +719,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. <sequential>
<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" />
</sequential>
</OnDependency>
</sequential>
|