Changeset b696cbf in mainline for kernel/arch/mips32/Makefile.inc


Ignore:
Timestamp:
2013-03-15T20:53:30Z (12 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ddfd158
Parents:
606f6a1
Message:

Generate code exactly for the CPU used on the machine.

File:
1 edited

Legend:

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

    r606f6a1 rb696cbf  
    2929BFD_ARCH = mips
    3030BFD = binary
    31 GCC_CFLAGS += -msoft-float -mno-abicalls -G 0 -fno-zero-initialized-in-bss -mips3 -mabi=32
     31GCC_CFLAGS += -msoft-float -mno-abicalls -G 0 -fno-zero-initialized-in-bss -mabi=32
    3232
    3333BITS = 32
     
    3939        BFD_NAME = elf32-tradlittlemips
    4040        ENDIANESS = LE
     41        GCC_CFLAGS += -march=r4000
    4142endif
    4243ifeq ($(MACHINE),bmalta)
    4344        BFD_NAME = elf32-tradbigmips
    4445        ENDIANESS = BE
    45         GCC_CFLAGS += -D__BE__
     46        GCC_CFLAGS += -D__BE__ -march=4kc
    4647endif
    4748ifeq ($(MACHINE),lmalta)
    4849        BFD_NAME = elf32-tradlittlemips
    4950        ENDIANESS = LE
     51        GCC_CFLAGS += -march=4kc
    5052endif
    5153
Note: See TracChangeset for help on using the changeset viewer.