summaryrefslogtreecommitdiff
path: root/Tools/CCode/Source/build.xml
diff options
context:
space:
mode:
authorlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>2006-10-09 22:03:52 +0000
committerlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>2006-10-09 22:03:52 +0000
commit55ab23ae35cec1016187a7c535bb9a1c81042b55 (patch)
tree74fa89c98456d7826a2c8df957e685276124834b /Tools/CCode/Source/build.xml
parent2f8df870031e1aee978635bb5cfa2f5a23f9b3f5 (diff)
downloadedk2-platforms-55ab23ae35cec1016187a7c535bb9a1c81042b55.tar.xz
removed extra taskdef and taskref definitions that caused some warning messages when doing a cleanall
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1694 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools/CCode/Source/build.xml')
-rw-r--r--Tools/CCode/Source/build.xml17
1 files changed, 10 insertions, 7 deletions
diff --git a/Tools/CCode/Source/build.xml b/Tools/CCode/Source/build.xml
index bbe545606f..f222b4abe6 100644
--- a/Tools/CCode/Source/build.xml
+++ b/Tools/CCode/Source/build.xml
@@ -35,21 +35,24 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<fileset dir="${env.XMLBEANS_HOME}/lib" includes="*.jar"/>
</path>
- <taskdef classpathref="classpath" resource="GenBuild.tasks" />
<taskdef classpathref="classpath" resource="net/sf/antcontrib/antlib.xml" />
- <taskdef classpathref="classpath" resource="cpptasks.tasks"/>
- <typedef classpathref="classpath" resource="cpptasks.types"/>
- <target name="all" depends="init, Tools">
+ <target name="all" depends="initArch, init, Tools">
<echo message="The EDK II C Tools build complete!"/>
</target>
<target name="init">
<echo message="EDK C Code Tools, build initialization"/>
+ <taskdef classpathref="classpath" resource="GenBuild.tasks" />
+ <taskdef classpathref="classpath" resource="cpptasks.tasks"/>
+ <typedef classpathref="classpath" resource="cpptasks.types"/>
<mkdir dir="${BIN_DIR}" />
<mkdir dir="${LIB_DIR}" />
+ </target>
+
+ <target name="initArch">
<condition property="HostArch" value="X64">
<os arch="amd64"/>
</condition>
@@ -240,7 +243,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
</if>
</target>
- <target name="Libraries" depends="init">
+ <target name="Libraries" depends="initArch, init">
<subant target="" inheritall="true">
<fileset dir="${PACKAGE_DIR}"
includes="${Libs}"/>
@@ -254,13 +257,13 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
</subant>
</target>
- <target name="clean" depends="init">
+ <target name="clean" depends="initArch">
<subant target="clean" inheritall="true">
<fileset dir="${PACKAGE_DIR}" includes="*/build.xml"/>
</subant>
</target>
- <target name="cleanall" depends="init">
+ <target name="cleanall" depends="initArch">
<subant target="cleanall" inheritall="true">
<fileset dir="${PACKAGE_DIR}" includes="*/build.xml"/>
</subant>