Rev 3369 | Rev 3754 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3369 | Rev 3390 | ||
|---|---|---|---|
| Line 36... | Line 36... | ||
| 36 | BFD_ARCH = mips |
36 | BFD_ARCH = mips |
| 37 | TARGET = mipsel-linux-gnu |
37 | TARGET = mipsel-linux-gnu |
| 38 | TOOLCHAIN_DIR = $(CROSS_PREFIX)/mipsel |
38 | TOOLCHAIN_DIR = $(CROSS_PREFIX)/mipsel |
| 39 | 39 | ||
| 40 | KERNEL_LOAD_ADDRESS = 0x80100000 |
40 | KERNEL_LOAD_ADDRESS = 0x80100000 |
| 41 | INIT_ADDRESS = 0x81000000 |
- | |
| 42 | INIT_SIZE = 262144 |
- | |
| 43 | 41 | ||
| 44 | GCC_CFLAGS += -mno-abicalls -G 0 -fno-zero-initialized-in-bss |
42 | GCC_CFLAGS += -mno-abicalls -G 0 -fno-zero-initialized-in-bss |
| 45 | 43 | ||
| 46 | DEFS += -D__32_BITS__ -DMACHINE=$(MACHINE) -DKERNEL_LOAD_ADDRESS=${KERNEL_LOAD_ADDRESS} -DINIT_ADDRESS=${INIT_ADDRESS} -DINIT_SIZE=${INIT_SIZE} |
44 | DEFS += -D__32_BITS__ -DMACHINE=$(MACHINE) -DKERNEL_LOAD_ADDRESS=${KERNEL_LOAD_ADDRESS} |
| 47 | 45 | ||
| 48 | ## Compile with hierarchical page tables support. |
46 | ## Compile with hierarchical page tables support. |
| 49 | # |
47 | # |
| 50 | 48 | ||
| 51 | CONFIG_PAGE_PT = y |
49 | CONFIG_PAGE_PT = y |
| Line 69... | Line 67... | ||
| 69 | BFD_NAME = elf32-bigmips |
67 | BFD_NAME = elf32-bigmips |
| 70 | BFD = ecoff-bigmips |
68 | BFD = ecoff-bigmips |
| 71 | TARGET = mips-sgi-irix5 |
69 | TARGET = mips-sgi-irix5 |
| 72 | TOOLCHAIN_DIR = $(CROSS_PREFIX)/mips/bin |
70 | TOOLCHAIN_DIR = $(CROSS_PREFIX)/mips/bin |
| 73 | GCC_CFLAGS += -EB -DBIG_ENDIAN -DARCH_HAS_FPU -mips3 |
71 | GCC_CFLAGS += -EB -DBIG_ENDIAN -DARCH_HAS_FPU -mips3 |
| 74 | INIT_ADDRESS = 0x81800000 |
- | |
| 75 | endif |
72 | endif |
| 76 | ifeq ($(MACHINE),simics) |
73 | ifeq ($(MACHINE),simics) |
| 77 | # SIMICS 4kc emulation is broken, although for instructions |
74 | # SIMICS 4kc emulation is broken, although for instructions |
| 78 | # that do not bother us |
75 | # that do not bother us |
| 79 | 76 | ||