Mercurial > lcfOS
view user/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="Userspace" default="all"> <target name="all" depends="hello,init"> </target> <target name="hello"> <compile sources="hello.c3;lib/*.c3" target="arm" output="obj/hello.o"/> <link output="obj/hello.elf" layout="app.mmap" target="arm" objects="obj/hello.o"/> </target> <target name="init"> <compile sources="init/init.c3;lib/*.c3" target="arm" output="obj/init.o"/> <link output="obj/init.elf" layout="app.mmap" target="arm" objects="obj/init.o" /> <objcopy objectfile="obj/init.elf" imagename="flash" format="bin" output="obj/init.bin" /> </target> </project>