Subversion Repositories HelenOS

Rev

Rev 289 | Rev 313 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 289 Rev 293
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
OBJDUMP=$(MIPS_BINUTILS_DIR)/$(MIPS_TARGET)-objdump
9
OBJCOPY=$(MIPS_BINUTILS_DIR)/$(MIPS_TARGET)-objcopy
10
OBJCOPY=$(MIPS_BINUTILS_DIR)/$(MIPS_TARGET)-objcopy
10
BFD_NAME=elf32-tradlittlemips
11
BFD_NAME=elf32-tradlittlemips
11
BFD_ARCH=mips
12
BFD_ARCH=mips
12
 
13
 
13
ASFLAGS=-mips3
14
ASFLAGS=-mips3
14
 
15
 
15
DEFS=-DARCH=$(ARCH)
16
DEFS=-DARCH=$(ARCH)
16
CPPFLAGS=$(DEFS) -mno-abicalls -nostdinc -I../include
17
CPPFLAGS=$(DEFS) -mno-abicalls -nostdinc -I../include
17
CFLAGS=$(CPPFLAGS) -mips2 -G 0 -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O2 -msoft-float
18
CFLAGS=$(CPPFLAGS) -mips2 -G 0 -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O2 -msoft-float
18
LFLAGS=-mips2 -M -no-check-sections
19
LFLAGS=-mips2 -M -no-check-sections
19
 
20
 
20
arch_sources= \
21
arch_sources= \
21
	arch/start.S \
22
	arch/start.S \
22
	arch/context.S \
23
	arch/context.S \
23
	arch/panic.s \
24
	arch/panic.s \
24
	arch/mips.c \
25
	arch/mips.c \
25
	arch/dummy.s \
26
	arch/dummy.s \
26
	arch/putchar.c \
27
	arch/putchar.c \
27
	arch/asm.s \
28
	arch/asm.s \
28
	arch/exception.c \
29
	arch/exception.c \
29
	arch/interrupt.c \
30
	arch/interrupt.c \
30
	arch/cache.c \
31
	arch/cache.c \
31
	arch/cpu/cpu.c \
32
	arch/cpu/cpu.c \
32
	arch/mm/frame.c \
33
	arch/mm/frame.c \
33
	arch/mm/page.c \
34
	arch/mm/page.c \
34
	arch/mm/tlb.c \
35
	arch/mm/tlb.c \
35
	arch/fpu_context.c \
36
	arch/fpu_context.c \
36
	arch/fmath.c
37
	arch/fmath.c
37
 
38