Rev 230 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 230 | Rev 240 | ||
---|---|---|---|
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 | 9 | ||
10 | ASFLAGS=-mips3 |
10 | ASFLAGS=-mips3 |
11 | 11 | ||
12 | DEFS=-DARCH=$(ARCH) |
12 | DEFS=-DARCH=$(ARCH) |
13 | CPPFLAGS=$(DEFS) -mno-abicalls -nostdinc -I../include |
13 | CPPFLAGS=$(DEFS) -mno-abicalls -nostdinc -I../include |
14 | CFLAGS=$(CPPFLAGS) -mips2 -G 0 -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O2 |
14 | 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 |
15 | LFLAGS=-mips2 -M -no-check-sections -T ../arch/mips/_link.ld |
16 | 16 | ||
17 | arch_sources= \ |
17 | arch_sources= \ |
18 | arch/start.S \ |
18 | arch/start.S \ |
19 | arch/context.S \ |
19 | arch/context.S \ |
20 | arch/panic.s \ |
20 | arch/panic.s \ |
21 | arch/mips.c \ |
21 | arch/mips.c \ |
22 | arch/dummy.s \ |
22 | arch/dummy.s \ |
23 | arch/putchar.c \ |
23 | arch/putchar.c \ |
24 | arch/asm.s \ |
24 | arch/asm.s \ |
25 | arch/exception.c \ |
25 | arch/exception.c \ |
26 | arch/interrupt.c \ |
26 | arch/interrupt.c \ |
27 | arch/cache.c \ |
27 | arch/cache.c \ |
28 | arch/cpu/cpu.c \ |
28 | arch/cpu/cpu.c \ |
29 | arch/mm/frame.c \ |
29 | arch/mm/frame.c \ |
30 | arch/mm/page.c \ |
30 | arch/mm/page.c \ |
31 | arch/mm/tlb.c \ |
31 | arch/mm/tlb.c \ |
32 | arch/fpu_context.c \ |
32 | arch/fpu_context.c \ |
33 | arch/fmath.c |
33 | arch/fmath.c |
34 | 34 |