annotate experiments/qemu_vexpress_a9/make.sh @ 377:9667d78ba79e
Switched to xml for project description
author |
Windel Bouwman |
date |
Fri, 11 Apr 2014 15:47:50 +0200 |
parents |
c7cc54c0dfdf |
children |
2a970e7270e2 |
rev |
line source |
340
|
1 #!/bin/bash
|
|
2
|
|
3
|
|
4 TARGET=arm-none-eabi
|
|
5 MCPU=arm926ej-s
|
|
6
|
|
7 python make_image.py
|
|
8 $TARGET-as -mcpu=$MCPU -g startup.s -o startup.o
|
|
9 $TARGET-gcc -c -g -mcpu=$MCPU -marm main.c -nostdlib -o main.o
|
|
10 $TARGET-gcc -c -g -mcpu=$MCPU -marm display.c -nostdlib -o disp.o
|
|
11 $TARGET-gcc -c -g -mcpu=$MCPU -marm image.c -nostdlib -o img.o
|
|
12 $TARGET-ld -g -T layout.ld main.o startup.o disp.o img.o -o test.elf
|
|
13 $TARGET-objcopy -O binary test.elf test.bin
|
|
14
|
|
15
|