annotate kernel/build.xml @ 408:ad6be5454067

Added image build task
author Windel Bouwman
date Sat, 21 Feb 2015 12:17:47 +0100
parents a284749c5729
children 6aa9743ed362
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
9667d78ba79e Switched to xml for project description
Windel Bouwman
parents:
diff changeset
7 <target name="vexpress">
393
6ae782a085e0 Added init program
Windel Bouwman
parents: 389
diff changeset
8
6ae782a085e0 Added init program
Windel Bouwman
parents: 389
diff changeset
9 <assemble source="arch/qemu_vexpress/start.asm"
402
0fb6633c42f6 Moved several files to logical locations
Windel Bouwman
parents: 398
diff changeset
10 target="arm" output="obj/start.o" />
393
6ae782a085e0 Added init program
Windel Bouwman
parents: 389
diff changeset
11
402
0fb6633c42f6 Moved several files to logical locations
Windel Bouwman
parents: 398
diff changeset
12 <compile target="arm" sources='*.c3;arch/qemu_vexpress/vexpressA9.c3'
0fb6633c42f6 Moved several files to logical locations
Windel Bouwman
parents: 398
diff changeset
13 output="obj/kernel.o" />
393
6ae782a085e0 Added init program
Windel Bouwman
parents: 389
diff changeset
14
402
0fb6633c42f6 Moved several files to logical locations
Windel Bouwman
parents: 398
diff changeset
15 <link output="obj/kernel.elf"
385
d056b552d3f4 Made better use of layout
Windel Bouwman
parents: 381
diff changeset
16 target="arm"
389
2ec730e45ea1 Added check for recursive struct
Windel Bouwman
parents: 385
diff changeset
17 layout="arch/qemu_vexpress/layout.mmap"
404
a284749c5729 Improved build scripts
Windel Bouwman
parents: 403
diff changeset
18 objects="obj/kernel.o;obj/start.o" />
393
6ae782a085e0 Added init program
Windel Bouwman
parents: 389
diff changeset
19
385
d056b552d3f4 Made better use of layout
Windel Bouwman
parents: 381
diff changeset
20 <objcopy
404
a284749c5729 Improved build scripts
Windel Bouwman
parents: 403
diff changeset
21 objectfile="obj/kernel.elf"
385
d056b552d3f4 Made better use of layout
Windel Bouwman
parents: 381
diff changeset
22 imagename="image"
404
a284749c5729 Improved build scripts
Windel Bouwman
parents: 403
diff changeset
23 format="bin"
408
ad6be5454067 Added image build task
Windel Bouwman
parents: 404
diff changeset
24 output="obj/kernel.bin" />
393
6ae782a085e0 Added init program
Windel Bouwman
parents: 389
diff changeset
25
377
9667d78ba79e Switched to xml for project description
Windel Bouwman
parents:
diff changeset
26 </target>
9667d78ba79e Switched to xml for project description
Windel Bouwman
parents:
diff changeset
27
9667d78ba79e Switched to xml for project description
Windel Bouwman
parents:
diff changeset
28 </project>
9667d78ba79e Switched to xml for project description
Windel Bouwman
parents:
diff changeset
29