Changeset 393f631 in mainline for arch/ppc/boot/Makefile


Ignore:
Timestamp:
2005-08-31T21:51:04Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
33ccb2c
Parents:
94f0ae4
Message:

many PPC stuff, platform dependent arch.h header files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ppc/boot/Makefile

    r94f0ae4 r393f631  
    99        cp boot.bin ../../../src/load.bin
    1010
     11CC=$(PPC_BINUTILS_DIR)/$(PPC_TARGET)-gcc
    1112AS=$(PPC_BINUTILS_DIR)/$(PPC_TARGET)-as
    1213LD=$(PPC_BINUTILS_DIR)/$(PPC_TARGET)-ld
    1314
    14 ASFLAGS=
    15 LFLAGS=--oformat=binary -e start
     15CPPFLAGS=$(DEFS) -nostdinc -I../include
     16CFLAGS=$(CPPFLAGS) -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O2
     17LFLAGS=-no-check-sections -N -T _link.ld
    1618
    17 boot.bin: boot.o
    18         $(LD) $(LFLAGS) boot.o -o $@
     19boot.bin: boot.o main.o
     20        $(LD) $(LFLAGS) boot.o main.o -o $@
    1921
    20 boot.o:
    21         $(AS) boot.s -o $@
     22boot.o: boot.S
     23        $(CC) $(CFLAGS) -c boot.S -o $@
     24
     25main.o: main.c
     26        $(CC) $(CFLAGS) -c main.c -o $@
    2227
    2328clean:
Note: See TracChangeset for help on using the changeset viewer.