annotate kernel/build.xml @ 404:a284749c5729

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