summaryrefslogtreecommitdiffstats
path: root/Tools/Conf
diff options
context:
space:
mode:
authorjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>2007-02-09 02:49:55 +0000
committerjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>2007-02-09 02:49:55 +0000
commit7407b98bbe3b56f214369c7fcb5b1cb44d68b203 (patch)
treebe9bbf4b7ea6d4149b3e28dc9bfce2cf25fcf976 /Tools/Conf
parent420c3edfc60b4899c98abb88fa9875a647139bdd (diff)
downloadedk2-7407b98bbe3b56f214369c7fcb5b1cb44d68b203.tar.gz
edk2-7407b98bbe3b56f214369c7fcb5b1cb44d68b203.tar.bz2
edk2-7407b98bbe3b56f214369c7fcb5b1cb44d68b203.zip
Removed the extra source file from preprocessor's command line options for building vfr files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2359 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools/Conf')
-rw-r--r--Tools/Conf/BuildMacro.xml13
1 files changed, 3 insertions, 10 deletions
diff --git a/Tools/Conf/BuildMacro.xml b/Tools/Conf/BuildMacro.xml
index 71fd062596..cf523c5f19 100644
--- a/Tools/Conf/BuildMacro.xml
+++ b/Tools/Conf/BuildMacro.xml
@@ -744,26 +744,19 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
</command>
</cc>
</then>
- </if>
-
- <if>
- <not>
- <equals arg1="${CC_FAMILY}" arg2="GCC"/>
- </not>
- <then>
+ <else>
<cc userdefine="on">
<command type="PP" cmd="${PP}" workdir="${DEST_DIR_OUTPUT}/@{FILEPATH}" family="${PP_FAMILY}"
dpath="${PP_DPATH}" libpath="${PP_LIBPATH}" include="${PP_INCLUDEPATH}">
- <argument value="${VFRPP_FLAGS} ${MODULE_DIR}/@{FILEPATH}/@{FILENAME}.@{FILEEXT}"/>
+ <argument value="${VFRPP_FLAGS}"/>
<!-- Output file of the preprocess -->
<EXTRA.INC/>
<fileset casesensitive="on" file="${MODULE_DIR}/@{FILEPATH}/@{FILENAME}.@{FILEEXT}"/>
</command>
</cc>
- </then>
+ </else>
</if>
-
<vfrcompile createIfrBinFile="on" createListFile="on" outPutDir="${DEST_DIR_DEBUG}/@{FILEPATH}" vfrFile="${DEST_DIR_OUTPUT}/@{FILEPATH}/@{FILENAME}.i">
<EXTRA.INC/>
</vfrcompile>