view kernel/build.xml @ 405:f381cea07fec

merge
author Windel Bouwman
date Thu, 19 Feb 2015 14:10:52 +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>