annotate kernel/build.xml @ 393:6ae782a085e0

Added init program
author Windel Bouwman
date Sat, 17 May 2014 21:17:40 +0200
parents 2ec730e45ea1
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="lcfos-kernel" default="vexpress">
9667d78ba79e Switched to xml for project description
Windel Bouwman
parents:
diff changeset
3
9667d78ba79e Switched to xml for project description
Windel Bouwman
parents:
diff changeset
4 <property name="src" value="src" />
379
78c27013f02e Removed old recipes
Windel Bouwman
parents: 378
diff changeset
5 <property name="arch" value="arm" />
377
9667d78ba79e Switched to xml for project description
Windel Bouwman
parents:
diff changeset
6
393
6ae782a085e0 Added init program
Windel Bouwman
parents: 389
diff changeset
7
377
9667d78ba79e Switched to xml for project description
Windel Bouwman
parents:
diff changeset
8 <target name="vexpress">
393
6ae782a085e0 Added init program
Windel Bouwman
parents: 389
diff changeset
9 <build file="../user/build.xml" />
6ae782a085e0 Added init program
Windel Bouwman
parents: 389
diff changeset
10
6ae782a085e0 Added init program
Windel Bouwman
parents: 389
diff changeset
11 <assemble source="arch/qemu_vexpress/start.asm"
6ae782a085e0 Added init program
Windel Bouwman
parents: 389
diff changeset
12 target="arm" output="start.o" />
6ae782a085e0 Added init program
Windel Bouwman
parents: 389
diff changeset
13
6ae782a085e0 Added init program
Windel Bouwman
parents: 389
diff changeset
14 <compile target="arm"
6ae782a085e0 Added init program
Windel Bouwman
parents: 389
diff changeset
15 sources='arch/qemu_vexpress/vexpressA9.c3'
6ae782a085e0 Added init program
Windel Bouwman
parents: 389
diff changeset
16 includes="${src}/*.c3" output="vexp.o" />
6ae782a085e0 Added init program
Windel Bouwman
parents: 389
diff changeset
17
6ae782a085e0 Added init program
Windel Bouwman
parents: 389
diff changeset
18 <compile target="arm" sources='${src}/*.c3'
6ae782a085e0 Added init program
Windel Bouwman
parents: 389
diff changeset
19 output="henkie.o" />
6ae782a085e0 Added init program
Windel Bouwman
parents: 389
diff changeset
20
6ae782a085e0 Added init program
Windel Bouwman
parents: 389
diff changeset
21 <!-- <script file="gen_table.py" /> -->
6ae782a085e0 Added init program
Windel Bouwman
parents: 389
diff changeset
22
385
d056b552d3f4 Made better use of layout
Windel Bouwman
parents: 381
diff changeset
23 <link output="kernel.o"
d056b552d3f4 Made better use of layout
Windel Bouwman
parents: 381
diff changeset
24 target="arm"
389
2ec730e45ea1 Added check for recursive struct
Windel Bouwman
parents: 385
diff changeset
25 layout="arch/qemu_vexpress/layout.mmap"
385
d056b552d3f4 Made better use of layout
Windel Bouwman
parents: 381
diff changeset
26 objects="henkie.o;vexp.o;start.o" />
393
6ae782a085e0 Added init program
Windel Bouwman
parents: 389
diff changeset
27
385
d056b552d3f4 Made better use of layout
Windel Bouwman
parents: 381
diff changeset
28 <objcopy
d056b552d3f4 Made better use of layout
Windel Bouwman
parents: 381
diff changeset
29 objectfile="kernel.o"
d056b552d3f4 Made better use of layout
Windel Bouwman
parents: 381
diff changeset
30 imagename="image"
d056b552d3f4 Made better use of layout
Windel Bouwman
parents: 381
diff changeset
31 output="kernel_arm.bin" />
393
6ae782a085e0 Added init program
Windel Bouwman
parents: 389
diff changeset
32
377
9667d78ba79e Switched to xml for project description
Windel Bouwman
parents:
diff changeset
33 </target>
9667d78ba79e Switched to xml for project description
Windel Bouwman
parents:
diff changeset
34
9667d78ba79e Switched to xml for project description
Windel Bouwman
parents:
diff changeset
35 </project>
9667d78ba79e Switched to xml for project description
Windel Bouwman
parents:
diff changeset
36