annotate kernel/build.xml @ 398:c0d9837acde8

x86 target refactor
author Windel Bouwman
date Thu, 29 May 2014 12:13:37 +0200
parents 6ae782a085e0
children 0fb6633c42f6
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
398
c0d9837acde8 x86 target refactor
Windel Bouwman
parents: 393
diff changeset
14 <assemble source="ramdisk.asm"
c0d9837acde8 x86 target refactor
Windel Bouwman
parents: 393
diff changeset
15 target="arm" output="ramdisk.o" />
c0d9837acde8 x86 target refactor
Windel Bouwman
parents: 393
diff changeset
16
393
6ae782a085e0 Added init program
Windel Bouwman
parents: 389
diff changeset
17 <compile target="arm"
6ae782a085e0 Added init program
Windel Bouwman
parents: 389
diff changeset
18 sources='arch/qemu_vexpress/vexpressA9.c3'
6ae782a085e0 Added init program
Windel Bouwman
parents: 389
diff changeset
19 includes="${src}/*.c3" output="vexp.o" />
6ae782a085e0 Added init program
Windel Bouwman
parents: 389
diff changeset
20
6ae782a085e0 Added init program
Windel Bouwman
parents: 389
diff changeset
21 <compile target="arm" sources='${src}/*.c3'
6ae782a085e0 Added init program
Windel Bouwman
parents: 389
diff changeset
22 output="henkie.o" />
6ae782a085e0 Added init program
Windel Bouwman
parents: 389
diff changeset
23
6ae782a085e0 Added init program
Windel Bouwman
parents: 389
diff changeset
24 <!-- <script file="gen_table.py" /> -->
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 <link output="kernel.o"
d056b552d3f4 Made better use of layout
Windel Bouwman
parents: 381
diff changeset
27 target="arm"
389
2ec730e45ea1 Added check for recursive struct
Windel Bouwman
parents: 385
diff changeset
28 layout="arch/qemu_vexpress/layout.mmap"
398
c0d9837acde8 x86 target refactor
Windel Bouwman
parents: 393
diff changeset
29 objects="henkie.o;vexp.o;start.o;ramdisk.o" />
393
6ae782a085e0 Added init program
Windel Bouwman
parents: 389
diff changeset
30
385
d056b552d3f4 Made better use of layout
Windel Bouwman
parents: 381
diff changeset
31 <objcopy
d056b552d3f4 Made better use of layout
Windel Bouwman
parents: 381
diff changeset
32 objectfile="kernel.o"
d056b552d3f4 Made better use of layout
Windel Bouwman
parents: 381
diff changeset
33 imagename="image"
d056b552d3f4 Made better use of layout
Windel Bouwman
parents: 381
diff changeset
34 output="kernel_arm.bin" />
393
6ae782a085e0 Added init program
Windel Bouwman
parents: 389
diff changeset
35
377
9667d78ba79e Switched to xml for project description
Windel Bouwman
parents:
diff changeset
36 </target>
9667d78ba79e Switched to xml for project description
Windel Bouwman
parents:
diff changeset
37
9667d78ba79e Switched to xml for project description
Windel Bouwman
parents:
diff changeset
38 </project>
9667d78ba79e Switched to xml for project description
Windel Bouwman
parents:
diff changeset
39