Changeset 41f7564 in mainline for kernel/arch/mips32/Makefile.inc


Ignore:
Timestamp:
2006-07-17T00:53:53Z (18 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
231fcb2
Parents:
41c4444
Message:

cleanup and unify the build system

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/mips32/Makefile.inc

    r41c4444 r41f7564  
    3434TOOLCHAIN_DIR = /usr/local/mipsel/bin
    3535
    36 ## Make some default assumptions
    37 #
    38 
    39 ifndef MIPS_MACHINE
    40         MIPS_MACHINE = msim
    41 endif
    42 
    4336KERNEL_LOAD_ADDRESS = 0x80100000
    4437INIT_ADDRESS = 0x81000000
     
    4740CFLAGS += -mno-abicalls -G 0 -fno-zero-initialized-in-bss
    4841
    49 DEFS += -D__32_BITS__ -DMACHINE=${MIPS_MACHINE} -DKERNEL_LOAD_ADDRESS=${KERNEL_LOAD_ADDRESS} -DINIT_ADDRESS=${INIT_ADDRESS} -DINIT_SIZE=${INIT_SIZE}
     42DEFS += -D__32_BITS__ -DMACHINE=$(MACHINE) -DKERNEL_LOAD_ADDRESS=${KERNEL_LOAD_ADDRESS} -DINIT_ADDRESS=${INIT_ADDRESS} -DINIT_SIZE=${INIT_SIZE}
    5043
    5144## Compile with hierarchical page tables support.
     
    6457#
    6558
    66 ifeq ($(MIPS_MACHINE),indy)
     59ifeq ($(MACHINE),indy)
    6760        # GCC 4.0.1 compiled for mipsEL has problems compiling in
    6861        # BigEndian mode with the swl/swr/lwl/lwr instructions.
     
    7871        INIT_SIZE = 0
    7972endif
    80 ifeq ($(MIPS_MACHINE),lgxemul)
     73ifeq ($(MACHINE),lgxemul)
    8174        BFD_NAME = elf32-tradlittlemips
    8275        BFD = binary
    8376        CFLAGS += -DFB_BIG_ENDIAN -DARCH_HAS_FPU -mips3
    8477endif
    85 ifeq ($(MIPS_MACHINE),bgxemul)
     78ifeq ($(MACHINE),bgxemul)
    8679        BFD_NAME = elf32-bigmips
    8780        BFD = ecoff-bigmips
     
    9184        INIT_ADDRESS = 0x81800000
    9285endif
    93 ifeq ($(MIPS_MACHINE),simics)
     86ifeq ($(MACHINE),simics)
    9487        # SIMICS 4kc emulation is broken, although for instructions
    9588        # that do not bother us
     
    10093        TLBCNT = 16
    10194endif
    102 ifeq ($(MIPS_MACHINE),msim)
     95ifeq ($(MACHINE),msim)
    10396        BFD_NAME = elf32-tradlittlemips
    10497        BFD = binary
Note: See TracChangeset for help on using the changeset viewer.