view kernel/build.xml @ 385:d056b552d3f4

Made better use of layout
author Windel Bouwman
date Thu, 01 May 2014 14:03:12 +0200
parents 6df89163e114
children 2ec730e45ea1
line wrap: on
line source


<project name="lcfos-kernel" default="vexpress">

    <property name="src" value="src" />
    <property name="arch" value="arm" />

    <target name="vexpress">
        <assemble source="arch/qemu_vexpress/startup_a9.asm" target="arm" output="start.o" />
        <compile target="arm" sources='arch/vexpressA9.c3' includes="${src}/*.c3" output="vexp.o" />
        <compile target="arm" sources='${src}/*.c3' output="henkie.o" />
        <link output="kernel.o"
            target="arm"
            layout="arch/qemu_vexpress/vexpressA9.mmap"
            objects="henkie.o;vexp.o;start.o" />
        <objcopy
            objectfile="kernel.o"
            imagename="image"
            output="kernel_arm.bin" />
    </target>

</project>