annotate user/build.xml @ 410:6aa9743ed362 tip

Reflect change in c3 public modifier
author Windel Bouwman
date Mon, 23 Feb 2015 21:06:04 +0100
parents a284749c5729
children
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
402
0fb6633c42f6 Moved several files to logical locations
Windel Bouwman
parents: 398
diff changeset
6 <target name="hello">
404
a284749c5729 Improved build scripts
Windel Bouwman
parents: 402
diff changeset
7 <compile sources="hello/hello.c3;lib/*.c3"
393
6ae782a085e0 Added init program
Windel Bouwman
parents: 385
diff changeset
8 target="arm"
402
0fb6633c42f6 Moved several files to logical locations
Windel Bouwman
parents: 398
diff changeset
9 output="obj/hello.o"/>
0fb6633c42f6 Moved several files to logical locations
Windel Bouwman
parents: 398
diff changeset
10 <link output="obj/hello.elf" layout="app.mmap"
393
6ae782a085e0 Added init program
Windel Bouwman
parents: 385
diff changeset
11 target="arm"
402
0fb6633c42f6 Moved several files to logical locations
Windel Bouwman
parents: 398
diff changeset
12 objects="obj/hello.o"/>
393
6ae782a085e0 Added init program
Windel Bouwman
parents: 385
diff changeset
13 </target>
6ae782a085e0 Added init program
Windel Bouwman
parents: 385
diff changeset
14
6ae782a085e0 Added init program
Windel Bouwman
parents: 385
diff changeset
15 <target name="init">
402
0fb6633c42f6 Moved several files to logical locations
Windel Bouwman
parents: 398
diff changeset
16 <compile sources="init/init.c3;lib/*.c3"
393
6ae782a085e0 Added init program
Windel Bouwman
parents: 385
diff changeset
17 target="arm"
402
0fb6633c42f6 Moved several files to logical locations
Windel Bouwman
parents: 398
diff changeset
18 output="obj/init.o"/>
398
c0d9837acde8 x86 target refactor
Windel Bouwman
parents: 393
diff changeset
19
393
6ae782a085e0 Added init program
Windel Bouwman
parents: 385
diff changeset
20 <link
402
0fb6633c42f6 Moved several files to logical locations
Windel Bouwman
parents: 398
diff changeset
21 output="obj/init.elf"
393
6ae782a085e0 Added init program
Windel Bouwman
parents: 385
diff changeset
22 layout="app.mmap"
6ae782a085e0 Added init program
Windel Bouwman
parents: 385
diff changeset
23 target="arm"
402
0fb6633c42f6 Moved several files to logical locations
Windel Bouwman
parents: 398
diff changeset
24 objects="obj/init.o" />
398
c0d9837acde8 x86 target refactor
Windel Bouwman
parents: 393
diff changeset
25
402
0fb6633c42f6 Moved several files to logical locations
Windel Bouwman
parents: 398
diff changeset
26 <objcopy objectfile="obj/init.elf"
398
c0d9837acde8 x86 target refactor
Windel Bouwman
parents: 393
diff changeset
27 imagename="flash"
402
0fb6633c42f6 Moved several files to logical locations
Windel Bouwman
parents: 398
diff changeset
28 format="bin"
0fb6633c42f6 Moved several files to logical locations
Windel Bouwman
parents: 398
diff changeset
29 output="obj/init.bin" />
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