Changeset 6bc4dbd in mainline for arch/ppc32/boot/Makefile
- Timestamp:
- 2005-11-08T00:00:15Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5b65205
- Parents:
- 849ba5cb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ppc32/boot/Makefile
r849ba5cb r6bc4dbd 1 PPC_BINUTILS_DIR=/usr/local/ppc/bin 2 PPC_TARGET=ppc-linux-gnu 1 .PHONY: build clean 3 2 4 .PHONY: nothing build 5 6 nothing: 3 CFLAGS = -nostdinc -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -I../include 7 4 8 5 build: boot.bin 9 6 cp boot.bin ../../../load.bin 10 7 11 CC=$(PPC_BINUTILS_DIR)/$(PPC_TARGET)-gcc12 AS=$(PPC_BINUTILS_DIR)/$(PPC_TARGET)-as13 LD=$(PPC_BINUTILS_DIR)/$(PPC_TARGET)-ld14 15 CPPFLAGS=$(DEFS) -nostdinc -I../include16 CFLAGS=$(CPPFLAGS) -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O217 LFLAGS=-no-check-sections -N -T _link.ld18 19 8 boot.bin: boot.o main.o 20 $(LD) $(LFLAGS)boot.o main.o -o $@9 $(LD) -no-check-sections -N -T _link.ld boot.o main.o -o $@ 21 10 22 11 boot.o: boot.S … … 27 16 28 17 clean: 29 -rm *.o *.bin18 -rm -f boot.o main.o boot.bin ../../../load.bin
Note:
See TracChangeset
for help on using the changeset viewer.