Updated PeiRebase to produce a map file of the relocations done by this tool. This...
[mirror_edk2.git] / build.xml
CommitLineData
878ddf1f 1<?xml version="1.0"?>\r
2<!--\r
3Copyright (c) 2006, Intel Corporation\r
4All rights reserved. This program and the accompanying materials\r
5are licensed and made available under the terms and conditions of the BSD License\r
6which accompanies this distribution. The full text of the license may be found at\r
7http://opensource.org/licenses/bsd-license.php\r
8\r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
11-->\r
12<project name="mdk" default="all" basedir=".">\r
5d863867 13 <!-- Apply external ANT tasks -->\r
14 <taskdef resource="net/sf/antcontrib/antlib.xml" />\r
15 <taskdef resource="GenBuild.tasks" />\r
16 \r
17 <property environment="env" />\r
18 \r
19 <property name="WORKSPACE_DIR" value="${env.WORKSPACE}" />\r
20 \r
21 <!--property name="COMMON_FILE" value="${WORKSPACE_DIR}/Tools/Conf/Common.xml" /-->\r
22 \r
23 <import file="${WORKSPACE_DIR}/Tools/Conf/BuildMacro.xml" />\r
24 \r
25 <target name="all" depends="init, build" />\r
26 \r
27 <target name="init">\r
28 <if>\r
29 <not>\r
30 <isset property="env.WORKSPACE" />\r
31 </not>\r
32 <then>\r
33 <fail message="WORKSPACE environmental variable not set." />\r
34 </then>\r
35 </if>\r
36 <!--\r
37 <ToolChainSetup confPath="${WORKSPACE_DIR}/Tools/Conf" />\r
38 -->\r
7b778c8e 39 </target>\r
5d863867 40 \r
41 <target name="build">\r
42 <FrameworkBuild />\r
878ddf1f 43 </target>\r
7fa7b1fe 44\r
5d863867 45 <target name="clean" depends="init">\r
46 <echo message="Clean all intermidiate files. " />\r
47 <FrameworkBuild type="clean" />\r
878ddf1f 48 </target>\r
5d863867 49 \r
50 <target name="cleanall" depends="init">\r
51 <echo message="Clean all generated files. " />\r
52 <FrameworkBuild type="cleanall" />\r
878ddf1f 53 </target>\r
5d863867 54 \r
878ddf1f 55</project>\r