mirror of https://github.com/acidanthera/audk.git
- 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
This commit is contained in:
parent
9f3a4be8ab
commit
8b41e66e1e
|
@ -674,16 +674,24 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
</targetfiles>
|
</targetfiles>
|
||||||
|
|
||||||
<sequential>
|
<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">
|
<cc userdefine="on">
|
||||||
<command type="LINK">
|
<command type="LINK">
|
||||||
<argument value="${LINK_FLAGS}"/>
|
<argument value="${LINK_FLAGS}"/>
|
||||||
<libset libs="${LIBS}"/>
|
<libset libs="${LIBS} ${DEST_DIR_OUTPUT}\@{FILEPATH}\@{FILENAME}Local.lib"/>
|
||||||
<LINK.ARG/>
|
<LINK.ARG/>
|
||||||
<EntryPoint value="_ModuleEntryPoint"/>
|
<EntryPoint value="_ModuleEntryPoint"/>
|
||||||
<map value="${DEST_DIR_OUTPUT}/@{FILEPATH}/@{FILENAME}.map"/>
|
<map value="${DEST_DIR_OUTPUT}/@{FILEPATH}/@{FILENAME}.map"/>
|
||||||
<pdb value="${DEST_DIR_DEBUG}/@{FILEPATH}/@{FILENAME}.pdb"/>
|
<pdb value="${DEST_DIR_DEBUG}/@{FILEPATH}/@{FILENAME}.pdb"/>
|
||||||
<OutputFile value="${DEST_DIR_DEBUG}/@{FILEPATH}/@{FILENAME}.dll"/>
|
<OutputFile value="${DEST_DIR_DEBUG}/@{FILEPATH}/@{FILENAME}.dll"/>
|
||||||
<FileList dir="" files="${OBJECTS}"/>
|
<!-- <FileList dir="" files="${OBJECTS}"/> -->
|
||||||
</command>
|
</command>
|
||||||
</cc>
|
</cc>
|
||||||
</sequential>
|
</sequential>
|
||||||
|
@ -711,6 +719,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
<sequential>
|
<sequential>
|
||||||
<fwimage componenttype="${COMPONENT_TYPE}" outImage="${DEST_DIR_OUTPUT}/@{FILENAME}.efi"
|
<fwimage componenttype="${COMPONENT_TYPE}" outImage="${DEST_DIR_OUTPUT}/@{FILENAME}.efi"
|
||||||
peImage="${DEST_DIR_DEBUG}/@{FILEPATH}/@{FILENAME}.@{FILEEXT}" time="0"/>
|
peImage="${DEST_DIR_DEBUG}/@{FILEPATH}/@{FILENAME}.@{FILEEXT}" time="0"/>
|
||||||
|
<copy file="${DEST_DIR_OUTPUT}\@{FILENAME}.efi" tofile="${DEST_DIR_DEBUG}\@{FILENAME}.efi" />
|
||||||
</sequential>
|
</sequential>
|
||||||
</OnDependency>
|
</OnDependency>
|
||||||
</sequential>
|
</sequential>
|
||||||
|
|
Loading…
Reference in New Issue