Subversion Repositories HelenOS

Rev

Rev 4342 | Rev 4346 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4342 Rev 4343
Line 31... Line 31...
31
 
31
 
32
BFD_ARCH = mips
32
BFD_ARCH = mips
33
TARGET = mipsel-linux-gnu
33
TARGET = mipsel-linux-gnu
34
TOOLCHAIN_DIR = $(CROSS_PREFIX)/mipsel
34
TOOLCHAIN_DIR = $(CROSS_PREFIX)/mipsel
35
 
35
 
36
KERNEL_LOAD_ADDRESS = 0x80100000
-
 
37
 
-
 
38
GCC_CFLAGS += -mno-abicalls -G 0 -fno-zero-initialized-in-bss
36
GCC_CFLAGS += -mno-abicalls -G 0 -fno-zero-initialized-in-bss
39
 
37
 
40
DEFS += -D__32_BITS__ -D$(MACHINE) -DKERNEL_LOAD_ADDRESS=$(KERNEL_LOAD_ADDRESS)
38
DEFS += -D__32_BITS__
41
 
39
 
42
## Accepted MACHINEs
40
## Accepted MACHINEs
43
#
41
#
44
 
42
 
45
ifeq ($(MACHINE),lgxemul)
43
ifeq ($(MACHINE),lgxemul)
Line 72... Line 70...
72
ARCH_SOURCES = \
70
ARCH_SOURCES = \
73
	arch/$(KARCH)/src/start.S \
71
	arch/$(KARCH)/src/start.S \
74
	arch/$(KARCH)/src/context.S \
72
	arch/$(KARCH)/src/context.S \
75
	arch/$(KARCH)/src/panic.S \
73
	arch/$(KARCH)/src/panic.S \
76
	arch/$(KARCH)/src/mips32.c \
74
	arch/$(KARCH)/src/mips32.c \
77
	arch/$(KARCH)/src/dummy.S \
-
 
78
	arch/$(KARCH)/src/console.c \
75
	arch/$(KARCH)/src/console.c \
79
	arch/$(KARCH)/src/asm.S \
76
	arch/$(KARCH)/src/asm.S \
80
	arch/$(KARCH)/src/exception.c \
77
	arch/$(KARCH)/src/exception.c \
81
	arch/$(KARCH)/src/interrupt.c \
78
	arch/$(KARCH)/src/interrupt.c \
82
	arch/$(KARCH)/src/cache.c \
79
	arch/$(KARCH)/src/cache.c \
Line 88... Line 85...
88
	arch/$(KARCH)/src/mm/as.c \
85
	arch/$(KARCH)/src/mm/as.c \
89
	arch/$(KARCH)/src/fpu_context.c \
86
	arch/$(KARCH)/src/fpu_context.c \
90
	arch/$(KARCH)/src/ddi/ddi.c \
87
	arch/$(KARCH)/src/ddi/ddi.c \
91
	arch/$(KARCH)/src/drivers/msim.c \
88
	arch/$(KARCH)/src/drivers/msim.c \
92
	arch/$(KARCH)/src/drivers/serial.c \
89
	arch/$(KARCH)/src/drivers/serial.c \
93
	arch/$(KARCH)/src/smp/order.c
90
	arch/$(KARCH)/src/smp/dorder.c \
-
 
91
	arch/$(KARCH)/src/smp/smp.c