mirror of https://github.com/acidanthera/audk.git
Fix CygWinGCC build failed. When GCC build, map file is not generated. We don't need copy map file when gcc build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2561 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
fdbc81c8cd
commit
0eaa1933bc
|
@ -1035,7 +1035,12 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||
<!-- Copy the efi file to BIN and OUTPUT directory -->
|
||||
<copy file="${DEST_DIR_OUTPUT}/@{FILENAME}.efi" tofile="${BIN_DIR}/@{FILENAME}.efi" />
|
||||
<copy file="${DEST_DIR_OUTPUT}/@{FILENAME}.efi" tofile="${DEST_DIR_DEBUG}/@{FILENAME}.efi" />
|
||||
<copy file="${DEST_DIR_DEBUG}/@{FILENAME}.map" tofile="${BIN_DIR}/@{FILENAME}.map" />
|
||||
<if>
|
||||
<available file="${DEST_DIR_DEBUG}/@{FILENAME}.map" />
|
||||
<then>
|
||||
<copy file="${DEST_DIR_DEBUG}/@{FILENAME}.map" tofile="${BIN_DIR}/@{FILENAME}.map" />
|
||||
</then>
|
||||
</if>
|
||||
</sequential>
|
||||
</OnDependency>
|
||||
</sequential>
|
||||
|
|
Loading…
Reference in New Issue