Changeset 656b789 in mainline for kernel/arch/mips32/Makefile.inc


Ignore:
Timestamp:
2009-03-16T22:58:11Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
be6038b
Parents:
f36c061
Message:

resurrect big endian support for mips32: switch from mips-sgi-irix5 toolchain to mips-linux-gnu
the kernel is working alright, the user space has some bugs yet

File:
1 edited

Legend:

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

    rf36c061 r656b789  
    3131
    3232BFD_ARCH = mips
     33BFD = binary
    3334TARGET = mipsel-linux-gnu
    3435TOOLCHAIN_DIR = $(CROSS_PREFIX)/mipsel
    3536
    36 GCC_CFLAGS += -mno-abicalls -G 0 -fno-zero-initialized-in-bss
     37GCC_CFLAGS += -mno-abicalls -G 0 -fno-zero-initialized-in-bss -mips3
    3738
    3839DEFS += -D__32_BITS__
     
    4344ifeq ($(MACHINE),lgxemul)
    4445        BFD_NAME = elf32-tradlittlemips
    45         BFD = binary
    46         GCC_CFLAGS += -mips3
    4746endif
    4847ifeq ($(MACHINE),bgxemul)
    49         BFD_NAME = elf32-bigmips
    50         BFD = ecoff-bigmips
     48        BFD_NAME = elf32-tradbigmips
    5149        TOOLCHAIN_DIR = $(CROSS_PREFIX)/mips
    52         TARGET = mips-sgi-irix5
    53         GCC_CFLAGS += -EB -DBIG_ENDIAN -mips3
     50        TARGET = mips-linux-gnu
     51        GCC_CFLAGS += -DBIG_ENDIAN
    5452endif
    5553ifeq ($(MACHINE),msim)
    5654        BFD_NAME = elf32-tradlittlemips
    57         BFD = binary
    58         GCC_CFLAGS += -mhard-float -mips3
     55        GCC_CFLAGS += -mhard-float
    5956endif
    6057
Note: See TracChangeset for help on using the changeset viewer.