view kernel/build.xml @ 386:2a970e7270e2

Added repeat assembler macro
author Windel Bouwman
date Thu, 01 May 2014 17:40:59 +0200
parents d056b552d3f4
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>