annotate user/build.xml @ 399:a7c444404df9

Fix hexwrite
author Windel Bouwman
date Fri, 20 Jun 2014 16:36:49 +0200
parents c0d9837acde8
children 0fb6633c42f6
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"/>
398
c0d9837acde8 x86 target refactor
Windel Bouwman
parents: 393
diff changeset
25
393
6ae782a085e0 Added init program
Windel Bouwman
parents: 385
diff changeset
26 <link
6ae782a085e0 Added init program
Windel Bouwman
parents: 385
diff changeset
27 output="init"
6ae782a085e0 Added init program
Windel Bouwman
parents: 385
diff changeset
28 layout="app.mmap"
6ae782a085e0 Added init program
Windel Bouwman
parents: 385
diff changeset
29 target="arm"
398
c0d9837acde8 x86 target refactor
Windel Bouwman
parents: 393
diff changeset
30 objects="init.o;lib.o" />
c0d9837acde8 x86 target refactor
Windel Bouwman
parents: 393
diff changeset
31
c0d9837acde8 x86 target refactor
Windel Bouwman
parents: 393
diff changeset
32 <objcopy objectfile="init"
c0d9837acde8 x86 target refactor
Windel Bouwman
parents: 393
diff changeset
33 imagename="flash"
c0d9837acde8 x86 target refactor
Windel Bouwman
parents: 393
diff changeset
34 output="init.bin" />
377
9667d78ba79e Switched to xml for project description
Windel Bouwman
parents:
diff changeset
35 </target>
9667d78ba79e Switched to xml for project description
Windel Bouwman
parents:
diff changeset
36 </project>
9667d78ba79e Switched to xml for project description
Windel Bouwman
parents:
diff changeset
37