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>
|
||||
|
||||
<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>
|
||||
|
|
Loading…
Reference in New Issue