diff options
author | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-01-10 03:00:37 +0000 |
---|---|---|
committer | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-01-10 03:00:37 +0000 |
commit | 741fb364170375f89aa9c29488cc402db07a3776 (patch) | |
tree | 923f9952870e2a8736e70ad888c671ade286954d /Tools/Conf/BuildMacro.xml | |
parent | 0026dbe0acd9f19489129dc050158e999e0bb795 (diff) | |
download | edk2-741fb364170375f89aa9c29488cc402db07a3776.zip edk2-741fb364170375f89aa9c29488cc402db07a3776.tar.gz edk2-741fb364170375f89aa9c29488cc402db07a3776.tar.bz2 |
Add dependency for RealAsm file build rules and Use the module name in place of macro STRING_ARRAY_NAME
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2205 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools/Conf/BuildMacro.xml')
-rw-r--r-- | Tools/Conf/BuildMacro.xml | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/Tools/Conf/BuildMacro.xml b/Tools/Conf/BuildMacro.xml index 0442b05..a673d00 100644 --- a/Tools/Conf/BuildMacro.xml +++ b/Tools/Conf/BuildMacro.xml @@ -785,14 +785,24 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. <element name="EXTRA.ARG" optional="yes"/>
<sequential>
- <!-- Lack Dependency Check -->
- <exec dir="${DEST_DIR_OUTPUT}" executable="${ASM}" failonerror="true">
- <arg line="/nologo /omf ${MODULE_DIR}/@{FILEPATH}/@{FILENAME}.@{FILEEXT} /Bl${ASMLINK} ${ASMLINK_FLAGS}"/>
- </exec>
- <concat destfile="${DEST_DIR_OUTPUT}/@{FILENAME}.cat" binary="yes">
- <filelist dir="${MODULE_DIR}" files="Blank2.pad"/>
- <filelist dir="${DEST_DIR_OUTPUT}" files="@{FILENAME}.com"/>
- </concat>
+ <OnDependency>
+ <sourcefiles>
+ <file name="${MODULE_DIR}/@{FILEPATH}/@{FILENAME}.@{FILEEXT}"/>
+ </sourcefiles>
+ <targetfiles>
+ <file name="${DEST_DIR_OUTPUT}/@{FILENAME}.cat"/>
+ </targetfiles>
+
+ <sequential>
+ <exec dir="${DEST_DIR_OUTPUT}" executable="${ASM}" failonerror="true">
+ <arg line="/nologo /omf ${MODULE_DIR}/@{FILEPATH}/@{FILENAME}.@{FILEEXT} /Bl${ASMLINK} ${ASMLINK_FLAGS}"/>
+ </exec>
+ <concat destfile="${DEST_DIR_OUTPUT}/@{FILENAME}.cat" binary="yes">
+ <filelist dir="${MODULE_DIR}" files="Blank2.pad"/>
+ <filelist dir="${DEST_DIR_OUTPUT}" files="@{FILENAME}.com"/>
+ </concat>
+ </sequential>
+ </OnDependency>
</sequential>
</macrodef>
|