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:
@@ -41,16 +41,16 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
</LibraryClassDefinitions>
|
||||
<SourceFiles>
|
||||
<Arch ArchType="IA32">
|
||||
<Filename>Common\RuntimeLib.c</Filename>
|
||||
<Filename>Common\RuntimeService.c</Filename>
|
||||
<Filename>Common/RuntimeLib.c</Filename>
|
||||
<Filename>Common/RuntimeService.c</Filename>
|
||||
</Arch>
|
||||
<Arch ArchType="X64">
|
||||
<Filename>Common\RuntimeLib.c</Filename>
|
||||
<Filename>Common\RuntimeService.c</Filename>
|
||||
<Filename>Common/RuntimeLib.c</Filename>
|
||||
<Filename>Common/RuntimeService.c</Filename>
|
||||
</Arch>
|
||||
<Arch ArchType="IPF">
|
||||
<Filename>Ipf\RuntimeLib.c</Filename>
|
||||
<Filename>Ipf\RuntimeService.c</Filename>
|
||||
<Filename>Ipf/RuntimeLib.c</Filename>
|
||||
<Filename>Ipf/RuntimeService.c</Filename>
|
||||
</Arch>
|
||||
</SourceFiles>
|
||||
<Includes>
|
||||
|
@@ -11,31 +11,31 @@ 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="Library\EdkDxeRuntimeDriverLib"/>
|
||||
<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="Library/EdkDxeRuntimeDriverLib"/>
|
||||
<property name="MODULE_DIR" value="${PACKAGE_DIR}/${MODULE_RELATIVE_PATH}"/>
|
||||
<property name="COMMON_FILE" value="${WORKSPACE_DIR}/Tools/Conf/Common.xml"/>
|
||||
<target name="EdkDxeRuntimeDriverLib">
|
||||
<GenBuild baseName="EdkDxeRuntimeDriverLib" mbdFilename="${MODULE_DIR}\EdkDxeRuntimeDriverLib.mbd" msaFilename="${MODULE_DIR}\EdkDxeRuntimeDriverLib.msa"/>
|
||||
<GenBuild baseName="EdkDxeRuntimeDriverLib" mbdFilename="${MODULE_DIR}/EdkDxeRuntimeDriverLib.mbd" msaFilename="${MODULE_DIR}/EdkDxeRuntimeDriverLib.msa"/>
|
||||
</target>
|
||||
<target depends="EdkDxeRuntimeDriverLib_clean" name="clean"/>
|
||||
<target depends="EdkDxeRuntimeDriverLib_cleanall" name="cleanall"/>
|
||||
<target name="EdkDxeRuntimeDriverLib_clean">
|
||||
<OutputDirSetup baseName="EdkDxeRuntimeDriverLib" mbdFilename="${MODULE_DIR}\EdkDxeRuntimeDriverLib.mbd" msaFilename="${MODULE_DIR}\EdkDxeRuntimeDriverLib.msa"/>
|
||||
<OutputDirSetup baseName="EdkDxeRuntimeDriverLib" mbdFilename="${MODULE_DIR}/EdkDxeRuntimeDriverLib.mbd" msaFilename="${MODULE_DIR}/EdkDxeRuntimeDriverLib.msa"/>
|
||||
<if>
|
||||
<available file="${DEST_DIR_OUTPUT}\EdkDxeRuntimeDriverLib_build.xml"/>
|
||||
<available file="${DEST_DIR_OUTPUT}/EdkDxeRuntimeDriverLib_build.xml"/>
|
||||
<then>
|
||||
<ant antfile="${DEST_DIR_OUTPUT}\EdkDxeRuntimeDriverLib_build.xml" target="clean"/>
|
||||
<ant antfile="${DEST_DIR_OUTPUT}/EdkDxeRuntimeDriverLib_build.xml" target="clean"/>
|
||||
</then>
|
||||
</if>
|
||||
<delete dir="${DEST_DIR_OUTPUT}" excludes="*.xml"/>
|
||||
</target>
|
||||
<target name="EdkDxeRuntimeDriverLib_cleanall">
|
||||
<OutputDirSetup baseName="EdkDxeRuntimeDriverLib" mbdFilename="${MODULE_DIR}\EdkDxeRuntimeDriverLib.mbd" msaFilename="${MODULE_DIR}\EdkDxeRuntimeDriverLib.msa"/>
|
||||
<OutputDirSetup baseName="EdkDxeRuntimeDriverLib" mbdFilename="${MODULE_DIR}/EdkDxeRuntimeDriverLib.mbd" msaFilename="${MODULE_DIR}/EdkDxeRuntimeDriverLib.msa"/>
|
||||
<if>
|
||||
<available file="${DEST_DIR_OUTPUT}\EdkDxeRuntimeDriverLib_build.xml"/>
|
||||
<available file="${DEST_DIR_OUTPUT}/EdkDxeRuntimeDriverLib_build.xml"/>
|
||||
<then>
|
||||
<ant antfile="${DEST_DIR_OUTPUT}\EdkDxeRuntimeDriverLib_build.xml" target="cleanall"/>
|
||||
<ant antfile="${DEST_DIR_OUTPUT}/EdkDxeRuntimeDriverLib_build.xml" target="cleanall"/>
|
||||
</then>
|
||||
</if>
|
||||
<delete dir="${DEST_DIR_OUTPUT}"/>
|
||||
|
Reference in New Issue
Block a user