Convert backslashes to forward slashes in many build files. This is necessary for Linux support.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@55 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -11,57 +11,57 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.-->
|
||||
<taskdef resource="net/sf/antcontrib/antlib.xml"/>
|
||||
<property environment="env"/>
|
||||
<property name="WORKSPACE_DIR" value="${env.WORKSPACE}"/>
|
||||
<import file="${WORKSPACE_DIR}\Tools\Conf\BuildMacro.xml"/><!--MODULE_RELATIVE PATH is relative to PACKAGE_DIR-->
|
||||
<property name="MODULE_RELATIVE_PATH" value="Bus\Pci\PciBus\Dxe"/>
|
||||
<property name="MODULE_DIR" value="${PACKAGE_DIR}\${MODULE_RELATIVE_PATH}"/>
|
||||
<property name="COMMON_FILE" value="${WORKSPACE_DIR}\Tools\Conf\Common.xml"/>
|
||||
<import file="${WORKSPACE_DIR}/Tools/Conf/BuildMacro.xml"/><!--MODULE_RELATIVE PATH is relative to PACKAGE_DIR-->
|
||||
<property name="MODULE_RELATIVE_PATH" value="Bus/Pci/PciBus/Dxe"/>
|
||||
<property name="MODULE_DIR" value="${PACKAGE_DIR}/${MODULE_RELATIVE_PATH}"/>
|
||||
<property name="COMMON_FILE" value="${WORKSPACE_DIR}/Tools/Conf/Common.xml"/>
|
||||
<target name="PciBus">
|
||||
<GenBuild baseName="PciBus" mbdFilename="${MODULE_DIR}\PciBus.mbd" msaFilename="${MODULE_DIR}\PciBus.msa"/>
|
||||
<GenBuild baseName="PciBus" mbdFilename="${MODULE_DIR}/PciBus.mbd" msaFilename="${MODULE_DIR}/PciBus.msa"/>
|
||||
</target>
|
||||
<target name="LightPciBusPciBus">
|
||||
<GenBuild baseName="LightPciBusPciBus" mbdFilename="${MODULE_DIR}\LightPciBus.mbd" msaFilename="${MODULE_DIR}\LightPciBus.msa"/>
|
||||
<GenBuild baseName="LightPciBusPciBus" mbdFilename="${MODULE_DIR}/LightPciBus.mbd" msaFilename="${MODULE_DIR}/LightPciBus.msa"/>
|
||||
</target>
|
||||
<target name="PciBusPciBusLite">
|
||||
<GenBuild baseName="PciBusPciBusLite" mbdFilename="${MODULE_DIR}\PciBusLite.mbd" msaFilename="${MODULE_DIR}\PciBusLite.msa"/>
|
||||
<GenBuild baseName="PciBusPciBusLite" mbdFilename="${MODULE_DIR}/PciBusLite.mbd" msaFilename="${MODULE_DIR}/PciBusLite.msa"/>
|
||||
</target>
|
||||
<target depends="PciBus_clean" name="clean"/>
|
||||
<target depends="PciBus_cleanall" name="cleanall"/>
|
||||
<target name="PciBus_clean">
|
||||
<OutputDirSetup baseName="PciBus" mbdFilename="${MODULE_DIR}\PciBus.mbd" msaFilename="${MODULE_DIR}\PciBus.msa"/>
|
||||
<OutputDirSetup baseName="PciBus" mbdFilename="${MODULE_DIR}/PciBus.mbd" msaFilename="${MODULE_DIR}/PciBus.msa"/>
|
||||
<if>
|
||||
<available file="${DEST_DIR_OUTPUT}\PciBus_build.xml"/>
|
||||
<available file="${DEST_DIR_OUTPUT}/PciBus_build.xml"/>
|
||||
<then>
|
||||
<ant antfile="${DEST_DIR_OUTPUT}\PciBus_build.xml" target="clean"/>
|
||||
<ant antfile="${DEST_DIR_OUTPUT}/PciBus_build.xml" target="clean"/>
|
||||
</then>
|
||||
</if>
|
||||
<delete dir="${DEST_DIR_OUTPUT}" excludes="*.xml"/>
|
||||
</target>
|
||||
<target name="LightPciBusPciBus_clean">
|
||||
<OutputDirSetup baseName="LightPciBusPciBus" mbdFilename="${MODULE_DIR}\LightPciBus.mbd" msaFilename="${MODULE_DIR}\LightPciBus.msa"/>
|
||||
<OutputDirSetup baseName="LightPciBusPciBus" mbdFilename="${MODULE_DIR}/LightPciBus.mbd" msaFilename="${MODULE_DIR}/LightPciBus.msa"/>
|
||||
<if>
|
||||
<available file="${DEST_DIR_OUTPUT}\LightPciBusPciBus_build.xml"/>
|
||||
<available file="${DEST_DIR_OUTPUT}/LightPciBusPciBus_build.xml"/>
|
||||
<then>
|
||||
<ant antfile="${DEST_DIR_OUTPUT}\LightPciBusPciBus_build.xml" target="clean"/>
|
||||
<ant antfile="${DEST_DIR_OUTPUT}/LightPciBusPciBus_build.xml" target="clean"/>
|
||||
</then>
|
||||
</if>
|
||||
<delete dir="${DEST_DIR_OUTPUT}" excludes="*.xml"/>
|
||||
</target>
|
||||
<target name="PciBusPciBusLite_clean">
|
||||
<OutputDirSetup baseName="PciBusPciBusLite" mbdFilename="${MODULE_DIR}\PciBusLite.mbd" msaFilename="${MODULE_DIR}\PciBusLite.msa"/>
|
||||
<OutputDirSetup baseName="PciBusPciBusLite" mbdFilename="${MODULE_DIR}/PciBusLite.mbd" msaFilename="${MODULE_DIR}/PciBusLite.msa"/>
|
||||
<if>
|
||||
<available file="${DEST_DIR_OUTPUT}\PciBusPciBusLite_build.xml"/>
|
||||
<available file="${DEST_DIR_OUTPUT}/PciBusPciBusLite_build.xml"/>
|
||||
<then>
|
||||
<ant antfile="${DEST_DIR_OUTPUT}\PciBusPciBusLite_build.xml" target="clean"/>
|
||||
<ant antfile="${DEST_DIR_OUTPUT}/PciBusPciBusLite_build.xml" target="clean"/>
|
||||
</then>
|
||||
</if>
|
||||
<delete dir="${DEST_DIR_OUTPUT}" excludes="*.xml"/>
|
||||
</target>
|
||||
<target name="PciBus_cleanall">
|
||||
<OutputDirSetup baseName="PciBus" mbdFilename="${MODULE_DIR}\PciBus.mbd" msaFilename="${MODULE_DIR}\PciBus.msa"/>
|
||||
<OutputDirSetup baseName="PciBus" mbdFilename="${MODULE_DIR}/PciBus.mbd" msaFilename="${MODULE_DIR}/PciBus.msa"/>
|
||||
<if>
|
||||
<available file="${DEST_DIR_OUTPUT}\PciBus_build.xml"/>
|
||||
<available file="${DEST_DIR_OUTPUT}/PciBus_build.xml"/>
|
||||
<then>
|
||||
<ant antfile="${DEST_DIR_OUTPUT}\PciBus_build.xml" target="cleanall"/>
|
||||
<ant antfile="${DEST_DIR_OUTPUT}/PciBus_build.xml" target="cleanall"/>
|
||||
</then>
|
||||
</if>
|
||||
<delete dir="${DEST_DIR_OUTPUT}"/>
|
||||
@@ -71,11 +71,11 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.-->
|
||||
</delete>
|
||||
</target>
|
||||
<target name="LightPciBusPciBus_cleanall">
|
||||
<OutputDirSetup baseName="LightPciBusPciBus" mbdFilename="${MODULE_DIR}\LightPciBus.mbd" msaFilename="${MODULE_DIR}\LightPciBus.msa"/>
|
||||
<OutputDirSetup baseName="LightPciBusPciBus" mbdFilename="${MODULE_DIR}/LightPciBus.mbd" msaFilename="${MODULE_DIR}/LightPciBus.msa"/>
|
||||
<if>
|
||||
<available file="${DEST_DIR_OUTPUT}\LightPciBusPciBus_build.xml"/>
|
||||
<available file="${DEST_DIR_OUTPUT}/LightPciBusPciBus_build.xml"/>
|
||||
<then>
|
||||
<ant antfile="${DEST_DIR_OUTPUT}\LightPciBusPciBus_build.xml" target="cleanall"/>
|
||||
<ant antfile="${DEST_DIR_OUTPUT}/LightPciBusPciBus_build.xml" target="cleanall"/>
|
||||
</then>
|
||||
</if>
|
||||
<delete dir="${DEST_DIR_OUTPUT}"/>
|
||||
@@ -85,11 +85,11 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.-->
|
||||
</delete>
|
||||
</target>
|
||||
<target name="PciBusPciBusLite_cleanall">
|
||||
<OutputDirSetup baseName="PciBusPciBusLite" mbdFilename="${MODULE_DIR}\PciBusLite.mbd" msaFilename="${MODULE_DIR}\PciBusLite.msa"/>
|
||||
<OutputDirSetup baseName="PciBusPciBusLite" mbdFilename="${MODULE_DIR}/PciBusLite.mbd" msaFilename="${MODULE_DIR}/PciBusLite.msa"/>
|
||||
<if>
|
||||
<available file="${DEST_DIR_OUTPUT}\PciBusPciBusLite_build.xml"/>
|
||||
<available file="${DEST_DIR_OUTPUT}/PciBusPciBusLite_build.xml"/>
|
||||
<then>
|
||||
<ant antfile="${DEST_DIR_OUTPUT}\PciBusPciBusLite_build.xml" target="cleanall"/>
|
||||
<ant antfile="${DEST_DIR_OUTPUT}/PciBusPciBusLite_build.xml" target="cleanall"/>
|
||||
</then>
|
||||
</if>
|
||||
<delete dir="${DEST_DIR_OUTPUT}"/>
|
||||
|
Reference in New Issue
Block a user