Subversion Repositories HelenOS-historic

Rev

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

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