view kernel/build.xml @ 407:9eb1fc6aad6c

Minor improvements
author Windel Bouwman
date Fri, 20 Feb 2015 15:47:54 +0100
parents a284749c5729
children ad6be5454067
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/start.asm"
            target="arm" output="obj/start.o" />

        <assemble source="ramdisk.asm"
            target="arm" output="obj/ramdisk.o" />

        <compile target="arm" sources='*.c3;arch/qemu_vexpress/vexpressA9.c3'
            output="obj/kernel.o" />

        <!-- <script file="gen_table.py" /> -->

        <link output="obj/kernel.elf"
            target="arm"
            layout="arch/qemu_vexpress/layout.mmap"
            objects="obj/kernel.o;obj/start.o" />

        <objcopy
            objectfile="obj/kernel.elf"
            imagename="image"
            format="bin"
            output="kernel_arm.bin" />

    </target>

</project>