annotate kernel/build.xml @ 403:1613c9d479bf

Add top level build files
author Windel Bouwman
date Thu, 19 Feb 2015 12:17:05 +0100
parents 0fb6633c42f6
children a284749c5729
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"
402
0fb6633c42f6 Moved several files to logical locations
Windel Bouwman
parents: 398
diff changeset
24 objects="obj/kernel.o;start.o;ramdisk.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
d056b552d3f4 Made better use of layout
Windel Bouwman
parents: 381
diff changeset
27 objectfile="kernel.o"
d056b552d3f4 Made better use of layout
Windel Bouwman
parents: 381
diff changeset
28 imagename="image"
d056b552d3f4 Made better use of layout
Windel Bouwman
parents: 381
diff changeset
29 output="kernel_arm.bin" />
393
6ae782a085e0 Added init program
Windel Bouwman
parents: 389
diff changeset
30
377
9667d78ba79e Switched to xml for project description
Windel Bouwman
parents:
diff changeset
31 </target>
9667d78ba79e Switched to xml for project description
Windel Bouwman
parents:
diff changeset
32
9667d78ba79e Switched to xml for project description
Windel Bouwman
parents:
diff changeset
33 </project>
9667d78ba79e Switched to xml for project description
Windel Bouwman
parents:
diff changeset
34