Mercurial > lcfOS
comparison user/build.xml @ 393:6ae782a085e0
Added init program
author | Windel Bouwman |
---|---|
date | Sat, 17 May 2014 21:17:40 +0200 |
parents | d056b552d3f4 |
children | c0d9837acde8 |
comparison
equal
deleted
inserted
replaced
392:bb4289c84907 | 393:6ae782a085e0 |
---|---|
1 | 1 |
2 <project name="Userspace" default="all"> | 2 <project name="Userspace" default="all"> |
3 <target name="all" depends="hello"> | 3 <target name="all" depends="hello,init"> |
4 </target> | 4 </target> |
5 <target name="hello"> | 5 |
6 <compile sources="lib.c3;ipc.c3;hello.c3" target="arm" output="hello.o"/> | 6 <target name="lib"> |
7 <link output="hello.bin" layout="app.mmap" | 7 <compile sources="lib.c3;ipc.c3" target="arm" output="lib.o"/> |
8 target="arm" | 8 </target> |
9 objects="hello.o"/> | 9 |
10 <target name="hello" depends="lib"> | |
11 <compile sources="hello.c3" | |
12 includes="lib.c3;ipc.c3" | |
13 target="arm" | |
14 output="hello.o"/> | |
15 <link output="hello" layout="app.mmap" | |
16 target="arm" | |
17 objects="hello.o;lib.o"/> | |
18 </target> | |
19 | |
20 <target name="init"> | |
21 <compile sources="init.c3" | |
22 includes="lib.c3;ipc.c3" | |
23 target="arm" | |
24 output="init.o"/> | |
25 <link | |
26 output="init" | |
27 layout="app.mmap" | |
28 target="arm" | |
29 objects="init.o;lib.o"/> | |
10 </target> | 30 </target> |
11 </project> | 31 </project> |
12 | 32 |