File: Makefile

package info (click to toggle)
firmware-free 20200122-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 1,596 kB
  • sloc: ansic: 16,001; asm: 4,448; yacc: 610; python: 445; lex: 364; makefile: 161; sh: 50; xml: 34; perl: 17
file content (11 lines) | stat: -rw-r--r-- 264 bytes parent folder | download | duplicates (14)
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