mirror of https://github.com/acidanthera/audk.git
Architecture rename
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@19 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
6e273042ad
commit
7d828c05af
|
@ -1,3 +1,3 @@
|
||||||
gcc -I $WORKSPACE/MdePkg/Include/ToBeRemoved -I "$WORKSPACE/MdePkg/Include/" -I"$WORKSPACE/MdePkg/Include/Ia32/" -I"../Common/" -I$WORKSPACE/MdePkg/Include/Protocol/ -I$WORKSPACE/MdePkg/Include/Common/ Ia32/*.c *.c -o GenFvImage_IA32 -L../Library-cygwin -lCommon -L/usr/lib/e2fsprogs -luuid
|
gcc -I $WORKSPACE/MdePkg/Include/ToBeRemoved -I "$WORKSPACE/MdePkg/Include/" -I"$WORKSPACE/MdePkg/Include/Ia32/" -I"../Common/" -I$WORKSPACE/MdePkg/Include/Protocol/ -I$WORKSPACE/MdePkg/Include/Common/ Ia32/*.c *.c -o GenFvImage_Ia32 -L../Library-cygwin -lCommon -L/usr/lib/e2fsprogs -luuid
|
||||||
gcc -I $WORKSPACE/MdePkg/Include/ToBeRemoved -I "$WORKSPACE/MdePkg/Include/" -I"$WORKSPACE/MdePkg/Include/Ia32/" -I"../Common/" -I$WORKSPACE/MdePkg/Include/Protocol/ -I$WORKSPACE/MdePkg/Include/Common/ x64/*.c *.c -o GenFvImage_X64 -L../Library-cygwin -lCommon -L/usr/lib/e2fsprogs -luuid
|
gcc -I $WORKSPACE/MdePkg/Include/ToBeRemoved -I "$WORKSPACE/MdePkg/Include/" -I"$WORKSPACE/MdePkg/Include/Ia32/" -I"../Common/" -I$WORKSPACE/MdePkg/Include/Protocol/ -I$WORKSPACE/MdePkg/Include/Common/ x64/*.c *.c -o GenFvImage_X64 -L../Library-cygwin -lCommon -L/usr/lib/e2fsprogs -luuid
|
||||||
gcc -I $WORKSPACE/MdePkg/Include/ToBeRemoved -I "$WORKSPACE/MdePkg/Include/" -I"$WORKSPACE/MdePkg/Include/Ia32/" -I"../Common/" -I$WORKSPACE/MdePkg/Include/Protocol/ -I$WORKSPACE/MdePkg/Include/Common/ Ipf/*.c *.c -o GenFvImage_IPF -L../Library-cygwin -lCommon -L/usr/lib/e2fsprogs -luuid
|
gcc -I $WORKSPACE/MdePkg/Include/ToBeRemoved -I "$WORKSPACE/MdePkg/Include/" -I"$WORKSPACE/MdePkg/Include/Ia32/" -I"../Common/" -I$WORKSPACE/MdePkg/Include/Protocol/ -I$WORKSPACE/MdePkg/Include/Common/ Ipf/*.c *.c -o GenFvImage_Ipf -L../Library-cygwin -lCommon -L/usr/lib/e2fsprogs -luuid
|
||||||
|
|
|
@ -65,25 +65,25 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
</echo>
|
</echo>
|
||||||
</else>
|
</else>
|
||||||
</if>
|
</if>
|
||||||
<if>
|
<if>
|
||||||
<equals arg1="${ToolChain}" arg2="msvc"/>
|
<equals arg1="${ToolChain}" arg2="msvc"/>
|
||||||
<then>
|
<then>
|
||||||
<property name="ext_static" value=".lib"/>
|
<property name="ext_static" value=".lib"/>
|
||||||
<property name="ext_dynamic" value=".dll"/>
|
<property name="ext_dynamic" value=".dll"/>
|
||||||
<property name="ext_exe" value=".exe"/>
|
<property name="ext_exe" value=".exe"/>
|
||||||
</then>
|
</then>
|
||||||
<elseif>
|
<elseif>
|
||||||
<equals arg1="${ToolChain}" arg2="gcc"/>
|
<equals arg1="${ToolChain}" arg2="gcc"/>
|
||||||
<then>
|
<then>
|
||||||
<property name="ext_static" value=".a"/>
|
<property name="ext_static" value=".a"/>
|
||||||
<property name="ext_dynamic" value=".so"/>
|
<property name="ext_dynamic" value=".so"/>
|
||||||
<property name="ext_exe" value=""/>
|
<property name="ext_exe" value=""/>
|
||||||
</then>
|
</then>
|
||||||
</elseif>
|
</elseif>
|
||||||
</if>
|
</if>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="Tool" depends="init, GenFvImage, GenFvImage_IA32, GenFvImage_X64, GenFvImage_IPF"/>
|
<target name="Tool" depends="init, GenFvImage, GenFvImage_Ia32, GenFvImage_X64, GenFvImage_Ipf"/>
|
||||||
|
|
||||||
<target name="GenFvImage">
|
<target name="GenFvImage">
|
||||||
<cc name="${ToolChain}" objdir="${BUILD_DIR_IA32}"
|
<cc name="${ToolChain}" objdir="${BUILD_DIR_IA32}"
|
||||||
|
@ -112,17 +112,17 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
<includepath path="${env.WORKSPACE}/MdePkg/Include/ToBeRemoved"/>
|
<includepath path="${env.WORKSPACE}/MdePkg/Include/ToBeRemoved"/>
|
||||||
<includepath path="${PACKAGE_DIR}/Common"/>
|
<includepath path="${PACKAGE_DIR}/Common"/>
|
||||||
|
|
||||||
<linkerarg value="${LIB_DIR}/CommonTools.lib"/>
|
<linkerarg value="${LIB_DIR}/CommonTools.lib"/>
|
||||||
<linkerarg value="${LIB_DIR}/CustomizedCompress.lib"/>
|
<linkerarg value="${LIB_DIR}/CustomizedCompress.lib"/>
|
||||||
<linkerarg value="/nodefaultlib:libc.lib"/>
|
<linkerarg value="/nodefaultlib:libc.lib"/>
|
||||||
<linkerarg value="RpcRT4.Lib"/>
|
<linkerarg value="RpcRT4.Lib"/>
|
||||||
|
|
||||||
</cc>
|
</cc>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="GenFvImage_IA32">
|
<target name="GenFvImage_Ia32">
|
||||||
<cc name="${ToolChain}" objdir="${BUILD_DIR_IA32}"
|
<cc name="${ToolChain}" objdir="${BUILD_DIR_IA32}"
|
||||||
outfile="${BIN_DIR}/${ToolName}_IA32"
|
outfile="${BIN_DIR}/${ToolName}_Ia32"
|
||||||
outtype="executable"
|
outtype="executable"
|
||||||
libtool="${haveLibtool}"
|
libtool="${haveLibtool}"
|
||||||
optimize="speed">
|
optimize="speed">
|
||||||
|
@ -147,10 +147,10 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
<includepath path="${env.WORKSPACE}/MdePkg/Include/ToBeRemoved"/>
|
<includepath path="${env.WORKSPACE}/MdePkg/Include/ToBeRemoved"/>
|
||||||
<includepath path="${PACKAGE_DIR}/Common"/>
|
<includepath path="${PACKAGE_DIR}/Common"/>
|
||||||
|
|
||||||
<linkerarg value="${LIB_DIR}/CommonTools.lib"/>
|
<linkerarg value="${LIB_DIR}/CommonTools.lib"/>
|
||||||
<linkerarg value="${LIB_DIR}/CustomizedCompress.lib"/>
|
<linkerarg value="${LIB_DIR}/CustomizedCompress.lib"/>
|
||||||
<linkerarg value="/nodefaultlib:libc.lib"/>
|
<linkerarg value="/nodefaultlib:libc.lib"/>
|
||||||
<linkerarg value="RpcRT4.Lib"/>
|
<linkerarg value="RpcRT4.Lib"/>
|
||||||
|
|
||||||
</cc>
|
</cc>
|
||||||
</target>
|
</target>
|
||||||
|
@ -181,17 +181,17 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
<includepath path="${env.WORKSPACE}/MdePkg/Include/ToBeRemoved"/>
|
<includepath path="${env.WORKSPACE}/MdePkg/Include/ToBeRemoved"/>
|
||||||
<includepath path="${PACKAGE_DIR}/Common"/>
|
<includepath path="${PACKAGE_DIR}/Common"/>
|
||||||
|
|
||||||
<linkerarg value="${LIB_DIR}/CommonTools.lib"/>
|
<linkerarg value="${LIB_DIR}/CommonTools.lib"/>
|
||||||
<linkerarg value="${LIB_DIR}/CustomizedCompress.lib"/>
|
<linkerarg value="${LIB_DIR}/CustomizedCompress.lib"/>
|
||||||
<linkerarg value="/nodefaultlib:libc.lib"/>
|
<linkerarg value="/nodefaultlib:libc.lib"/>
|
||||||
<linkerarg value="RpcRT4.Lib"/>
|
<linkerarg value="RpcRT4.Lib"/>
|
||||||
|
|
||||||
</cc>
|
</cc>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="GenFvImage_IPF">
|
<target name="GenFvImage_Ipf">
|
||||||
<cc name="${ToolChain}" objdir="${BUILD_DIR_IPF}"
|
<cc name="${ToolChain}" objdir="${BUILD_DIR_IPF}"
|
||||||
outfile="${BIN_DIR}/${ToolName}_IPF"
|
outfile="${BIN_DIR}/${ToolName}_Ipf"
|
||||||
outtype="executable"
|
outtype="executable"
|
||||||
libtool="${haveLibtool}"
|
libtool="${haveLibtool}"
|
||||||
optimize="speed">
|
optimize="speed">
|
||||||
|
@ -215,10 +215,10 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
<includepath path="${env.WORKSPACE}/MdePkg/Include/ToBeRemoved"/>
|
<includepath path="${env.WORKSPACE}/MdePkg/Include/ToBeRemoved"/>
|
||||||
<includepath path="${PACKAGE_DIR}/Common"/>
|
<includepath path="${PACKAGE_DIR}/Common"/>
|
||||||
|
|
||||||
<linkerarg value="${LIB_DIR}/CommonTools.lib"/>
|
<linkerarg value="${LIB_DIR}/CommonTools.lib"/>
|
||||||
<linkerarg value="${LIB_DIR}/CustomizedCompress.lib"/>
|
<linkerarg value="${LIB_DIR}/CustomizedCompress.lib"/>
|
||||||
<linkerarg value="/nodefaultlib:libc.lib"/>
|
<linkerarg value="/nodefaultlib:libc.lib"/>
|
||||||
<linkerarg value="RpcRT4.Lib"/>
|
<linkerarg value="RpcRT4.Lib"/>
|
||||||
|
|
||||||
</cc>
|
</cc>
|
||||||
</target>
|
</target>
|
||||||
|
@ -235,11 +235,11 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
<target name="cleanall" depends="init">
|
<target name="cleanall" depends="init">
|
||||||
<echo message="Removing Object Files and the Executable: ${ToolName}${ext_exe}"/>
|
<echo message="Removing Object Files and the Executable: ${ToolName}${ext_exe}"/>
|
||||||
<delete dir="${PACKAGE_DIR}/${ToolName}/tmp">
|
<delete dir="${PACKAGE_DIR}/${ToolName}/tmp">
|
||||||
|
|
||||||
<fileset dir="${BIN_DIR}" includes="${ToolName}_IA32${ext_exe}"/>
|
<fileset dir="${BIN_DIR}" includes="${ToolName}_Ia32${ext_exe}"/>
|
||||||
<fileset dir="${BIN_DIR}" includes="${ToolName}_X64${ext_exe}"/>
|
<fileset dir="${BIN_DIR}" includes="${ToolName}_X64${ext_exe}"/>
|
||||||
<fileset dir="${BIN_DIR}" includes="${ToolName}${ext_exe}"/>
|
<fileset dir="${BIN_DIR}" includes="${ToolName}${ext_exe}"/>
|
||||||
<fileset dir="${BIN_DIR}" includes="${ToolName}_IPF${ext_exe}"/>
|
<fileset dir="${BIN_DIR}" includes="${ToolName}_Ipf${ext_exe}"/>
|
||||||
</delete>
|
</delete>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue