annotate experiments/qemu_vexpress_a9/make.sh @ 403:1613c9d479bf
Add top level build files
author |
Windel Bouwman |
date |
Thu, 19 Feb 2015 12:17:05 +0100 |
parents |
34ac19044b8a |
children |
|
rev |
line source |
340
|
1 #!/bin/bash
|
|
2
|
|
3
|
|
4 TARGET=arm-none-eabi
|
|
5 MCPU=arm926ej-s
|
|
6
|
|
7 $TARGET-as -mcpu=$MCPU -g startup.s -o startup.o
|
|
8 $TARGET-gcc -c -g -mcpu=$MCPU -marm main.c -nostdlib -o main.o
|
386
|
9 $TARGET-ld -g -T layout.ld main.o startup.o -o test.elf
|
340
|
10 $TARGET-objcopy -O binary test.elf test.bin
|
386
|
11 $TARGET-nm test.elf
|
387
|
12 $TARGET-objdump -x test.elf
|
340
|
13
|
|
14
|