view kernel/build.xml @ 403:1613c9d479bf

Add top level build files
author Windel Bouwman
date Thu, 19 Feb 2015 12:17:05 +0100
parents 0fb6633c42f6
children a284749c5729
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;start.o;ramdisk.o" />

        <objcopy
            objectfile="kernel.o"
            imagename="image"
            output="kernel_arm.bin" />

    </target>

</project>