Rev 4311 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4311 | Rev 4556 | ||
---|---|---|---|
Line 34... | Line 34... | ||
34 | TARGET = mipsel-linux-gnu |
34 | TARGET = mipsel-linux-gnu |
35 | TOOLCHAIN_DIR = $(CROSS_PREFIX)/mipsel |
35 | TOOLCHAIN_DIR = $(CROSS_PREFIX)/mipsel |
36 | 36 | ||
37 | GCC_CFLAGS += -mno-abicalls -G 0 -fno-zero-initialized-in-bss -mips3 |
37 | GCC_CFLAGS += -mno-abicalls -G 0 -fno-zero-initialized-in-bss -mips3 |
38 | 38 | ||
39 | DEFS += -D__32_BITS__ |
39 | BITS = 32 |
40 | 40 | ||
41 | ## Accepted MACHINEs |
41 | ## Accepted MACHINEs |
42 | # |
42 | # |
43 | 43 | ||
44 | ifeq ($(MACHINE),lgxemul) |
44 | ifeq ($(MACHINE),lgxemul) |
45 | BFD_NAME = elf32-tradlittlemips |
45 | BFD_NAME = elf32-tradlittlemips |
- | 46 | ENDIANESS = LE |
|
46 | endif |
47 | endif |
47 | ifeq ($(MACHINE),bgxemul) |
48 | ifeq ($(MACHINE),bgxemul) |
48 | BFD_NAME = elf32-tradbigmips |
49 | BFD_NAME = elf32-tradbigmips |
49 | TOOLCHAIN_DIR = $(CROSS_PREFIX)/mips |
50 | TOOLCHAIN_DIR = $(CROSS_PREFIX)/mips |
50 | TARGET = mips-linux-gnu |
51 | TARGET = mips-linux-gnu |
- | 52 | ENDIANESS = BE |
|
51 | GCC_CFLAGS += -DBIG_ENDIAN |
53 | GCC_CFLAGS += -D__BE__ |
52 | endif |
54 | endif |
53 | ifeq ($(MACHINE),msim) |
55 | ifeq ($(MACHINE),msim) |
54 | BFD_NAME = elf32-tradlittlemips |
56 | BFD_NAME = elf32-tradlittlemips |
- | 57 | ENDIANESS = LE |
|
55 | GCC_CFLAGS += -mhard-float |
58 | GCC_CFLAGS += -mhard-float |
56 | endif |
59 | endif |
57 | 60 | ||
58 | ARCH_SOURCES = \ |
61 | ARCH_SOURCES = \ |
59 | arch/$(KARCH)/src/start.S \ |
62 | arch/$(KARCH)/src/start.S \ |