Rev 240 | Rev 289 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 240 | Rev 268 | ||
---|---|---|---|
1 | MIPS_TARGET=mipsel-linux-gnu |
1 | MIPS_TARGET=mipsel-linux-gnu |
2 | 2 | ||
3 | MIPS_CC_DIR=/usr/local/mipsel/bin |
3 | MIPS_CC_DIR=/usr/local/mipsel/bin |
4 | MIPS_BINUTILS_DIR=/usr/local/mipsel/bin |
4 | MIPS_BINUTILS_DIR=/usr/local/mipsel/bin |
5 | 5 | ||
6 | CC=$(MIPS_CC_DIR)/$(MIPS_TARGET)-gcc |
6 | CC=$(MIPS_CC_DIR)/$(MIPS_TARGET)-gcc |
7 | AS=$(MIPS_BINUTILS_DIR)/$(MIPS_TARGET)-as |
7 | AS=$(MIPS_BINUTILS_DIR)/$(MIPS_TARGET)-as |
8 | LD=$(MIPS_BINUTILS_DIR)/$(MIPS_TARGET)-ld |
8 | LD=$(MIPS_BINUTILS_DIR)/$(MIPS_TARGET)-ld |
- | 9 | OBJCOPY=$(MIPS_BINUTILS_DIR)/$(MIPS_TARGET)-objcopy |
|
- | 10 | BFD_NAME=elf32-tradlittlemips |
|
- | 11 | BFD_ARCH=mips |
|
9 | 12 | ||
10 | ASFLAGS=-mips3 |
13 | ASFLAGS=-mips3 |
11 | 14 | ||
12 | DEFS=-DARCH=$(ARCH) |
15 | DEFS=-DARCH=$(ARCH) |
13 | CPPFLAGS=$(DEFS) -mno-abicalls -nostdinc -I../include |
16 | CPPFLAGS=$(DEFS) -mno-abicalls -nostdinc -I../include |
14 | CFLAGS=$(CPPFLAGS) -mips2 -G 0 -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O2 -msoft-float |
17 | CFLAGS=$(CPPFLAGS) -mips2 -G 0 -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O2 -msoft-float |
15 | LFLAGS=-mips2 -M -no-check-sections -T ../arch/mips/_link.ld |
18 | LFLAGS=-mips2 -M -no-check-sections -T ../arch/mips/_link.ld |
16 | 19 | ||
17 | arch_sources= \ |
20 | arch_sources= \ |
18 | arch/start.S \ |
21 | arch/start.S \ |
19 | arch/context.S \ |
22 | arch/context.S \ |
20 | arch/panic.s \ |
23 | arch/panic.s \ |
21 | arch/mips.c \ |
24 | arch/mips.c \ |
22 | arch/dummy.s \ |
25 | arch/dummy.s \ |
23 | arch/putchar.c \ |
26 | arch/putchar.c \ |
24 | arch/asm.s \ |
27 | arch/asm.s \ |
25 | arch/exception.c \ |
28 | arch/exception.c \ |
26 | arch/interrupt.c \ |
29 | arch/interrupt.c \ |
27 | arch/cache.c \ |
30 | arch/cache.c \ |
28 | arch/cpu/cpu.c \ |
31 | arch/cpu/cpu.c \ |
29 | arch/mm/frame.c \ |
32 | arch/mm/frame.c \ |
30 | arch/mm/page.c \ |
33 | arch/mm/page.c \ |
31 | arch/mm/tlb.c \ |
34 | arch/mm/tlb.c \ |
32 | arch/fpu_context.c \ |
35 | arch/fpu_context.c \ |
33 | arch/fmath.c |
36 | arch/fmath.c |
34 | 37 |