diff experiments/qemu_vexpress_a9/make.sh @ 340:c7cc54c0dfdf devel

Test featurebranch
author Windel Bouwman
date Sun, 23 Feb 2014 16:24:01 +0100
parents
children 2a970e7270e2
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/experiments/qemu_vexpress_a9/make.sh	Sun Feb 23 16:24:01 2014 +0100
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+
+TARGET=arm-none-eabi
+MCPU=arm926ej-s
+
+python make_image.py
+$TARGET-as -mcpu=$MCPU -g startup.s -o startup.o
+$TARGET-gcc -c -g -mcpu=$MCPU -marm main.c -nostdlib -o main.o
+$TARGET-gcc -c -g -mcpu=$MCPU -marm display.c -nostdlib -o disp.o
+$TARGET-gcc -c -g -mcpu=$MCPU -marm image.c -nostdlib -o img.o
+$TARGET-ld -g -T layout.ld main.o startup.o disp.o img.o -o test.elf
+$TARGET-objcopy -O binary test.elf test.bin
+
+