annotate experiments/qemu_vexpress_a9/make.sh @ 346:3bb7dcfe5529

expanded arm target
author Windel Bouwman
date Fri, 07 Mar 2014 17:05:32 +0100
parents c7cc54c0dfdf
children 2a970e7270e2
rev   line source
340
c7cc54c0dfdf Test featurebranch
Windel Bouwman
parents:
diff changeset
1 #!/bin/bash
c7cc54c0dfdf Test featurebranch
Windel Bouwman
parents:
diff changeset
2
c7cc54c0dfdf Test featurebranch
Windel Bouwman
parents:
diff changeset
3
c7cc54c0dfdf Test featurebranch
Windel Bouwman
parents:
diff changeset
4 TARGET=arm-none-eabi
c7cc54c0dfdf Test featurebranch
Windel Bouwman
parents:
diff changeset
5 MCPU=arm926ej-s
c7cc54c0dfdf Test featurebranch
Windel Bouwman
parents:
diff changeset
6
c7cc54c0dfdf Test featurebranch
Windel Bouwman
parents:
diff changeset
7 python make_image.py
c7cc54c0dfdf Test featurebranch
Windel Bouwman
parents:
diff changeset
8 $TARGET-as -mcpu=$MCPU -g startup.s -o startup.o
c7cc54c0dfdf Test featurebranch
Windel Bouwman
parents:
diff changeset
9 $TARGET-gcc -c -g -mcpu=$MCPU -marm main.c -nostdlib -o main.o
c7cc54c0dfdf Test featurebranch
Windel Bouwman
parents:
diff changeset
10 $TARGET-gcc -c -g -mcpu=$MCPU -marm display.c -nostdlib -o disp.o
c7cc54c0dfdf Test featurebranch
Windel Bouwman
parents:
diff changeset
11 $TARGET-gcc -c -g -mcpu=$MCPU -marm image.c -nostdlib -o img.o
c7cc54c0dfdf Test featurebranch
Windel Bouwman
parents:
diff changeset
12 $TARGET-ld -g -T layout.ld main.o startup.o disp.o img.o -o test.elf
c7cc54c0dfdf Test featurebranch
Windel Bouwman
parents:
diff changeset
13 $TARGET-objcopy -O binary test.elf test.bin
c7cc54c0dfdf Test featurebranch
Windel Bouwman
parents:
diff changeset
14
c7cc54c0dfdf Test featurebranch
Windel Bouwman
parents:
diff changeset
15