diff examples/qemu_a9_hello/build.xml @ 385:d056b552d3f4

Made better use of layout
author Windel Bouwman
date Thu, 01 May 2014 14:03:12 +0200
parents 9667d78ba79e
children
line wrap: on
line diff
--- a/examples/qemu_a9_hello/build.xml	Sun Apr 27 17:50:25 2014 +0200
+++ b/examples/qemu_a9_hello/build.xml	Thu May 01 14:03:12 2014 +0200
@@ -4,7 +4,13 @@
     <target name="hello">
         <assemble source="startup_a9.asm" target="arm" output="start.o" />
         <compile target="arm" sources='hello.c3' output="hello.o" />
-        <link objects="start.o;hello.o" output="hello.bin" layout="qemu.mmap" />
+        <link objects="start.o;hello.o" output="hello.o"
+            target="arm"
+            layout="qemu.mmap" />
+        <objcopy
+            objectfile="hello.o"
+            imagename="flash"
+            output="hello.bin" />
     </target>
 </project>