Changeset 81e1396 in mainline for arch/sparc64/boot/Makefile
- Timestamp:
- 2005-10-25T22:36:09Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 34d9ab28
- Parents:
- 56d40fe
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/sparc64/boot/Makefile
r56d40fe r81e1396 1 .PHONY: nothing build clean 1 BINUTILS_DIR=/usr/local/sparc64/bin 2 TARGET=sparc64-linux-gnu 3 4 .PHONY: nothing build 2 5 3 6 nothing: 4 7 5 build: 6 touch boot.bin 8 build: boot.bin 9 cp boot.bin ../../../load.bin 10 11 CC=$(BINUTILS_DIR)/$(TARGET)-gcc 12 AS=$(BINUTILS_DIR)/$(TARGET)-as 13 LD=$(BINUTILS_DIR)/$(TARGET)-ld 14 15 CPPFLAGS=$(DEFS) -nostdinc -I../include 16 CFLAGS=$(CPPFLAGS) -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O2 17 LFLAGS=-no-check-sections -N -T _link.ld -s 18 19 boot.bin: boot.aout 20 dd if=/dev/zero of=$@ bs=512 count=16 21 dd if=boot.aout of=$@ bs=512 seek=1 conv=notrunc 22 23 boot.aout: boot.o 24 $(LD) $(LFLAGS) boot.o -o $@ 25 26 boot.o: boot.S 27 $(CC) $(CFLAGS) -c boot.S -o $@ 7 28 8 29 clean: 9 -rm *. bin30 -rm *.o *.bin *.aout
Note:
See TracChangeset
for help on using the changeset viewer.