Changeset 9371c30 in mainline for arch/mips32/Makefile.inc


Ignore:
Timestamp:
2005-12-06T20:53:03Z (20 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
36e7b6c3
Parents:
090e7ea1
Message:

Completely reworked configuration system.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/mips32/Makefile.inc

    r090e7ea1 r9371c30  
    3737#
    3838
    39 ifndef MACHINE
    40         MACHINE = msim
     39ifndef MIPS_MACHINE
     40        MIPS_MACHINE = msim
    4141endif
    4242
     
    4545INIT_SIZE = 65536
    4646CFLAGS += -mno-abicalls -G 0 -fno-zero-initialized-in-bss
    47 DEFS += -DMACHINE=${MACHINE} -DKERNEL_LOAD_ADDRESS=${KERNEL_LOAD_ADDRESS} -DINIT_ADDRESS=${INIT_ADDRESS} -DINIT_SIZE=${INIT_SIZE}
     47DEFS += -DMACHINE=${MIPS_MACHINE} -DKERNEL_LOAD_ADDRESS=${KERNEL_LOAD_ADDRESS} -DINIT_ADDRESS=${INIT_ADDRESS} -DINIT_SIZE=${INIT_SIZE}
    4848
    4949## Accepted MACHINEs
    5050#
    5151
    52 ifeq ($(MACHINE),indy)
     52ifeq ($(MIPS_MACHINE),indy)
    5353        # GCC 4.0.1 compiled for mipsEL has problems compiling in
    5454        # BigEndian mode with the swl/swr/lwl/lwr instructions.
     
    6262        CFLAGS += -EB -DBIG_ENDIAN -DHAVE_FPU -march=r4600
    6363endif
    64 ifeq ($(MACHINE),lgxemul)
     64ifeq ($(MIPS_MACHINE),lgxemul)
    6565        BFD_NAME=elf32-tradlittlemips
    6666        BFD = ecoff-littlemips
    6767        CFLAGS += -DHAVE_FPU -mips3
    6868endif
    69 ifeq ($(MACHINE),bgxemul)
     69ifeq ($(MIPS_MACHINE),bgxemul)
    7070        BFD_NAME=elf32-bigmips
    7171        BFD = ecoff-bigmips
     
    7474        CFLAGS += -EB -DBIG_ENDIAN -DHAVE_FPU -mips3
    7575endif
    76 ifeq ($(MACHINE),msim4kc)
     76ifeq ($(MIPS_MACHINE),msim4kc)
    7777        # MSIM needs lwl/swl patch & 4kc instruction patch to work
    7878        # otherwise add -mmemcpy -mips3
     
    8282        CFLAGS += -mhard-float -march=4kc
    8383endif
    84 ifeq ($(MACHINE),simics)
     84ifeq ($(MIPS_MACHINE),simics)
    8585        # SIMICS 4kc emulation is broken, although for instructions
    8686        # that do not bother us
     
    9090        CFLAGS += -mhard-float -mips3
    9191endif
    92 ifeq ($(MACHINE),msim)
     92ifeq ($(MIPS_MACHINE),msim)
    9393        BFD_NAME = elf32-tradlittlemips
    9494        BFD = binary
    9595        CFLAGS += -mhard-float -mips3
    9696endif
    97 
    98 ## Own configuration directives
    99 #
    100 
    101 CONFIG_OFW = y
    10297
    10398## Accepted configuration directives
Note: See TracChangeset for help on using the changeset viewer.