comparison kernel/build.xml @ 393:6ae782a085e0

Added init program
author Windel Bouwman
date Sat, 17 May 2014 21:17:40 +0200
parents 2ec730e45ea1
children c0d9837acde8
comparison
equal deleted inserted replaced
392:bb4289c84907 393:6ae782a085e0
2 <project name="lcfos-kernel" default="vexpress"> 2 <project name="lcfos-kernel" default="vexpress">
3 3
4 <property name="src" value="src" /> 4 <property name="src" value="src" />
5 <property name="arch" value="arm" /> 5 <property name="arch" value="arm" />
6 6
7
7 <target name="vexpress"> 8 <target name="vexpress">
8 <assemble source="arch/qemu_vexpress/start.asm" target="arm" output="start.o" /> 9 <build file="../user/build.xml" />
9 <compile target="arm" sources='arch/qemu_vexpress/vexpressA9.c3' includes="${src}/*.c3" output="vexp.o" /> 10
10 <compile target="arm" sources='${src}/*.c3' output="henkie.o" /> 11 <assemble source="arch/qemu_vexpress/start.asm"
12 target="arm" output="start.o" />
13
14 <compile target="arm"
15 sources='arch/qemu_vexpress/vexpressA9.c3'
16 includes="${src}/*.c3" output="vexp.o" />
17
18 <compile target="arm" sources='${src}/*.c3'
19 output="henkie.o" />
20
21 <!-- <script file="gen_table.py" /> -->
22
11 <link output="kernel.o" 23 <link output="kernel.o"
12 target="arm" 24 target="arm"
13 layout="arch/qemu_vexpress/layout.mmap" 25 layout="arch/qemu_vexpress/layout.mmap"
14 objects="henkie.o;vexp.o;start.o" /> 26 objects="henkie.o;vexp.o;start.o" />
27
15 <objcopy 28 <objcopy
16 objectfile="kernel.o" 29 objectfile="kernel.o"
17 imagename="image" 30 imagename="image"
18 output="kernel_arm.bin" /> 31 output="kernel_arm.bin" />
32
19 </target> 33 </target>
20 34
21 </project> 35 </project>
22 36