Removed the extra source file from preprocessor's command line options for building...
authorjwang36 <jwang36@de2fecce-e211-0410-80a6-f3fac2684e05>
Fri, 9 Feb 2007 02:49:55 +0000 (02:49 +0000)
committerjwang36 <jwang36@de2fecce-e211-0410-80a6-f3fac2684e05>
Fri, 9 Feb 2007 02:49:55 +0000 (02:49 +0000)
git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2359 de2fecce-e211-0410-80a6-f3fac2684e05

edk2/Tools/Conf/BuildMacro.xml

index 71fd062..cf523c5 100644 (file)
@@ -744,26 +744,19 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
                 </command>\r
               </cc>\r
             </then>\r
-          </if>\r
-          \r
-          <if>\r
-            <not>\r
-              <equals arg1="${CC_FAMILY}" arg2="GCC"/>\r
-            </not>\r
-            <then>\r
+            <else>\r
               <cc userdefine="on">\r
                 <command type="PP" cmd="${PP}" workdir="${DEST_DIR_OUTPUT}/@{FILEPATH}" family="${PP_FAMILY}" \r
                          dpath="${PP_DPATH}" libpath="${PP_LIBPATH}" include="${PP_INCLUDEPATH}">\r
-              <argument value="${VFRPP_FLAGS} ${MODULE_DIR}/@{FILEPATH}/@{FILENAME}.@{FILEEXT}"/>\r
+                  <argument value="${VFRPP_FLAGS}"/>\r
                   <!-- Output file of the preprocess -->   \r
                   <EXTRA.INC/>            \r
                   <fileset casesensitive="on" file="${MODULE_DIR}/@{FILEPATH}/@{FILENAME}.@{FILEEXT}"/>              \r
                 </command>\r
               </cc>\r
-            </then>\r
+            </else>\r
           </if>\r
           \r
-          \r
           <vfrcompile createIfrBinFile="on" createListFile="on" outPutDir="${DEST_DIR_DEBUG}/@{FILEPATH}" vfrFile="${DEST_DIR_OUTPUT}/@{FILEPATH}/@{FILENAME}.i">\r
             <EXTRA.INC/>\r
           </vfrcompile>\r