]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - build.xml
Remove BINARY_MODULE = true attribute from binary module inf file, because this attri...
[mirror_edk2.git] / build.xml
... / ...
CommitLineData
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
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 <property name="BUILD_TARGET" value="all"/>\r
21 \r
22 <import file="${WORKSPACE_DIR}/Tools/Conf/BuildMacro.xml" />\r
23 \r
24 <target name="all" depends="init, build" />\r
25 \r
26 <target name="init">\r
27 <if>\r
28 <not>\r
29 <isset property="env.WORKSPACE" />\r
30 </not>\r
31 <then>\r
32 <fail message="WORKSPACE environmental variable not set." />\r
33 </then>\r
34 </if>\r
35 </target>\r
36 \r
37 <target name="build">\r
38 <echo message="TARGET: ${BUILD_TARGET}" level="info"/>\r
39 <FrameworkBuild type="${BUILD_TARGET}"/>\r
40 </target>\r
41\r
42 <target name="clean" depends="init">\r
43 <echo message="Clean all intermidiate files. " />\r
44 <FrameworkBuild type="clean" />\r
45 </target>\r
46 \r
47 <target name="cleanall" depends="init">\r
48 <echo message="Clean all generated files. " />\r
49 <FrameworkBuild type="cleanall" />\r
50 </target>\r
51 \r
52</project>\r