summaryrefslogtreecommitdiffstats
path: root/av7110/Makefile
blob: a2776fed37bf652408a0c7e22090ed929b710cb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
CC = arm-linux-gnueabi-gcc
LD = arm-linux-gnueabi-ld
OBJCOPY = arm-linux-gnueabi-objcopy

bootcode.bin: Boot.S
	$(CC) -mbig-endian -c Boot.S
	$(LD) -Ttext 0x2c000000 -EB -o Boot Boot.o
	$(OBJCOPY) -Obinary Boot bootcode.bin

clean:
	rm -f Boot.o Boot bootcode.bin