Mercurial > lcfOS
view 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 |
line wrap: on
line source
#!/bin/bash TARGET=arm-none-eabi MCPU=arm926ej-s $TARGET-as -mcpu=$MCPU -g startup.s -o startup.o $TARGET-gcc -c -g -mcpu=$MCPU -marm main.c -nostdlib -o main.o $TARGET-ld -g -T layout.ld main.o startup.o -o test.elf $TARGET-objcopy -O binary test.elf test.bin $TARGET-nm test.elf $TARGET-objdump -x test.elf