Subversion Repositories HelenOS

Rev

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

Rev 3022 Rev 4055
Line 31... Line 31...
31
 
31
 
32
BFD_NAME = elf32-powerpc
32
BFD_NAME = elf32-powerpc
33
BFD_ARCH = powerpc:common
33
BFD_ARCH = powerpc:common
34
BFD = binary
34
BFD = binary
35
TARGET = ppc-linux-gnu
35
TARGET = ppc-linux-gnu
36
TOOLCHAIN_DIR = /usr/local/ppc
36
TOOLCHAIN_DIR = $(CROSS_PREFIX)/ppc
37
 
37
 
38
GCC_CFLAGS += -mcpu=powerpc -msoft-float -m32
38
GCC_CFLAGS += -mcpu=powerpc -msoft-float -m32
39
AFLAGS += -a32
39
AFLAGS += -a32
40
LFLAGS += -no-check-sections -N
40
LFLAGS += -no-check-sections -N
41
 
41
 
42
DEFS += -D__32_BITS__
42
DEFS += -D__32_BITS__
43
 
43
 
44
## Own configuration directives
-
 
45
#
-
 
46
 
-
 
47
CONFIG_FB = y
-
 
48
 
-
 
49
## Compile with hierarchical page tables support.
-
 
50
#
-
 
51
 
-
 
52
CONFIG_PAGE_PT = y
-
 
53
DEFS += -DCONFIG_PAGE_PT
-
 
54
 
-
 
55
## Compile with support for address space identifiers.
-
 
56
#
-
 
57
 
-
 
58
CONFIG_ASID = y
-
 
59
CONFIG_ASID_FIFO = y
-
 
60
 
-
 
61
## Compile with support for software integer division.
-
 
62
#
-
 
63
 
-
 
64
CONFIG_SOFTINT = y
-
 
65
 
-
 
66
ARCH_SOURCES = \
44
ARCH_SOURCES = \
67
	arch/$(ARCH)/src/context.S \
45
	arch/$(KARCH)/src/context.S \
68
	arch/$(ARCH)/src/debug/panic.s \
46
	arch/$(KARCH)/src/debug/panic.s \
69
	arch/$(ARCH)/src/fpu_context.S \
47
	arch/$(KARCH)/src/fpu_context.S \
70
	arch/$(ARCH)/src/boot/boot.S \
48
	arch/$(KARCH)/src/boot/boot.S \
71
	arch/$(ARCH)/src/ppc32.c \
49
	arch/$(KARCH)/src/ppc32.c \
72
	arch/$(ARCH)/src/dummy.s \
50
	arch/$(KARCH)/src/dummy.s \
73
	arch/$(ARCH)/src/exception.S \
51
	arch/$(KARCH)/src/exception.S \
74
	arch/$(ARCH)/src/interrupt.c \
52
	arch/$(KARCH)/src/interrupt.c \
75
	arch/$(ARCH)/src/asm.S \
53
	arch/$(KARCH)/src/asm.S \
76
	arch/$(ARCH)/src/cpu/cpu.c \
54
	arch/$(KARCH)/src/cpu/cpu.c \
77
	arch/$(ARCH)/src/proc/scheduler.c \
55
	arch/$(KARCH)/src/proc/scheduler.c \
78
	arch/$(ARCH)/src/ddi/ddi.c \
56
	arch/$(KARCH)/src/ddi/ddi.c \
79
	arch/$(ARCH)/src/drivers/cuda.c \
57
	arch/$(KARCH)/src/drivers/cuda.c \
80
	arch/$(ARCH)/src/mm/as.c \
58
	arch/$(KARCH)/src/mm/as.c \
81
	arch/$(ARCH)/src/mm/frame.c \
59
	arch/$(KARCH)/src/mm/frame.c \
82
	arch/$(ARCH)/src/mm/page.c \
60
	arch/$(KARCH)/src/mm/page.c \
83
	arch/$(ARCH)/src/mm/tlb.c \
61
	arch/$(KARCH)/src/mm/tlb.c \
84
	arch/$(ARCH)/src/drivers/pic.c
62
	arch/$(KARCH)/src/drivers/pic.c