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