source:
mainline/arch/mips32/boot/Makefile@
9b9f195
Last change on this file since 9b9f195 was 389f41e, checked in by , 20 years ago | |
---|---|
|
|
File size: 360 bytes |
Rev | Line | |
---|---|---|
[389f41e] | 1 | .PHONY: build clean |
[f761f1eb] | 2 | |
[389f41e] | 3 | CFLAGS = -nostdinc -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -mips3 -I../include |
[f761f1eb] | 4 | |
5 | build: boot.bin | |
[c9ed176] | 6 | cp boot.bin ../../../load.bin |
[f761f1eb] | 7 | |
8 | boot.bin: boot.o | |
[389f41e] | 9 | $(LD) -e start -T _link.ld boot.o -o $@ |
[f761f1eb] | 10 | |
[389f41e] | 11 | boot.o: boot.S |
12 | $(CC) $(CFLAGS) -c boot.S -o $@ | |
[f761f1eb] | 13 | |
14 | clean: | |
[389f41e] | 15 | -rm -f boot.o boot.bin ../../../load.bin |
Note:
See TracBrowser
for help on using the repository browser.