Mercurial > lcfOS
annotate experiments/qemu_vexpress_a9/make.sh @ 397:5d03c10fe19d
Small changes
author | Windel Bouwman |
---|---|
date | Thu, 29 May 2014 10:47:28 +0200 |
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 |