annotate user/build.xml @ 393:6ae782a085e0

Added init program
author Windel Bouwman
date Sat, 17 May 2014 21:17:40 +0200
parents d056b552d3f4
children c0d9837acde8
rev   line source
377
9667d78ba79e Switched to xml for project description
Windel Bouwman
parents:
diff changeset
1
9667d78ba79e Switched to xml for project description
Windel Bouwman
parents:
diff changeset
2 <project name="Userspace" default="all">
393
6ae782a085e0 Added init program
Windel Bouwman
parents: 385
diff changeset
3 <target name="all" depends="hello,init">
6ae782a085e0 Added init program
Windel Bouwman
parents: 385
diff changeset
4 </target>
6ae782a085e0 Added init program
Windel Bouwman
parents: 385
diff changeset
5
6ae782a085e0 Added init program
Windel Bouwman
parents: 385
diff changeset
6 <target name="lib">
6ae782a085e0 Added init program
Windel Bouwman
parents: 385
diff changeset
7 <compile sources="lib.c3;ipc.c3" target="arm" output="lib.o"/>
6ae782a085e0 Added init program
Windel Bouwman
parents: 385
diff changeset
8 </target>
6ae782a085e0 Added init program
Windel Bouwman
parents: 385
diff changeset
9
6ae782a085e0 Added init program
Windel Bouwman
parents: 385
diff changeset
10 <target name="hello" depends="lib">
6ae782a085e0 Added init program
Windel Bouwman
parents: 385
diff changeset
11 <compile sources="hello.c3"
6ae782a085e0 Added init program
Windel Bouwman
parents: 385
diff changeset
12 includes="lib.c3;ipc.c3"
6ae782a085e0 Added init program
Windel Bouwman
parents: 385
diff changeset
13 target="arm"
6ae782a085e0 Added init program
Windel Bouwman
parents: 385
diff changeset
14 output="hello.o"/>
6ae782a085e0 Added init program
Windel Bouwman
parents: 385
diff changeset
15 <link output="hello" layout="app.mmap"
6ae782a085e0 Added init program
Windel Bouwman
parents: 385
diff changeset
16 target="arm"
6ae782a085e0 Added init program
Windel Bouwman
parents: 385
diff changeset
17 objects="hello.o;lib.o"/>
6ae782a085e0 Added init program
Windel Bouwman
parents: 385
diff changeset
18 </target>
6ae782a085e0 Added init program
Windel Bouwman
parents: 385
diff changeset
19
6ae782a085e0 Added init program
Windel Bouwman
parents: 385
diff changeset
20 <target name="init">
6ae782a085e0 Added init program
Windel Bouwman
parents: 385
diff changeset
21 <compile sources="init.c3"
6ae782a085e0 Added init program
Windel Bouwman
parents: 385
diff changeset
22 includes="lib.c3;ipc.c3"
6ae782a085e0 Added init program
Windel Bouwman
parents: 385
diff changeset
23 target="arm"
6ae782a085e0 Added init program
Windel Bouwman
parents: 385
diff changeset
24 output="init.o"/>
6ae782a085e0 Added init program
Windel Bouwman
parents: 385
diff changeset
25 <link
6ae782a085e0 Added init program
Windel Bouwman
parents: 385
diff changeset
26 output="init"
6ae782a085e0 Added init program
Windel Bouwman
parents: 385
diff changeset
27 layout="app.mmap"
6ae782a085e0 Added init program
Windel Bouwman
parents: 385
diff changeset
28 target="arm"
6ae782a085e0 Added init program
Windel Bouwman
parents: 385
diff changeset
29 objects="init.o;lib.o"/>
377
9667d78ba79e Switched to xml for project description
Windel Bouwman
parents:
diff changeset
30 </target>
9667d78ba79e Switched to xml for project description
Windel Bouwman
parents:
diff changeset
31 </project>
9667d78ba79e Switched to xml for project description
Windel Bouwman
parents:
diff changeset
32