Changeset 6bc4dbd in mainline for arch/ppc32/boot/Makefile


Ignore:
Timestamp:
2005-11-08T00:00:15Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5b65205
Parents:
849ba5cb
Message:

new build system upgrade
finished work for IA-32, IA-64, PPC-32, SPARC-64

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
    32
    4 .PHONY: nothing build
    5 
    6 nothing:
     3CFLAGS = -nostdinc -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -I../include
    74
    85build: boot.bin
    96        cp boot.bin ../../../load.bin
    107
    11 CC=$(PPC_BINUTILS_DIR)/$(PPC_TARGET)-gcc
    12 AS=$(PPC_BINUTILS_DIR)/$(PPC_TARGET)-as
    13 LD=$(PPC_BINUTILS_DIR)/$(PPC_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
    18 
    198boot.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 $@
    2110
    2211boot.o: boot.S
     
    2716
    2817clean:
    29         -rm *.o *.bin
     18        -rm -f boot.o main.o boot.bin ../../../load.bin
Note: See TracChangeset for help on using the changeset viewer.