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


Ignore:
Timestamp:
2009-06-18T08:30:50Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
12956e57
Parents:
553492be
Message:

define endianess externally to be able to exactly specify whether we are using UTF-32LE or UTF-32BE
quit messing with BOM in UTF-32

File:
1 edited

Legend:

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

    r553492be rac47b7c2  
    3737GCC_CFLAGS += -mno-abicalls -G 0 -fno-zero-initialized-in-bss -mips3
    3838
    39 DEFS += -D__32_BITS__
     39BITS = 32
    4040
    4141## Accepted MACHINEs
     
    4444ifeq ($(MACHINE),lgxemul)
    4545        BFD_NAME = elf32-tradlittlemips
     46        ENDIANESS = LE
    4647endif
    4748ifeq ($(MACHINE),bgxemul)
     
    4950        TOOLCHAIN_DIR = $(CROSS_PREFIX)/mips
    5051        TARGET = mips-linux-gnu
    51         GCC_CFLAGS += -DBIG_ENDIAN
     52        ENDIANESS = BE
     53        GCC_CFLAGS += -D__BE__
    5254endif
    5355ifeq ($(MACHINE),msim)
    5456        BFD_NAME = elf32-tradlittlemips
     57        ENDIANESS = LE
    5558        GCC_CFLAGS += -mhard-float
    5659endif
Note: See TracChangeset for help on using the changeset viewer.