Rev 287 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 287 | Rev 289 | ||
---|---|---|---|
1 | PPC_TARGET=ppc-linux-gnu |
1 | PPC_TARGET=ppc-linux-gnu |
2 | 2 | ||
3 | PPC_CC_DIR=/usr/local/ppc/bin |
3 | PPC_CC_DIR=/usr/local/ppc/bin |
4 | PPC_BINUTILS_DIR=/usr/local/ppc/bin |
4 | PPC_BINUTILS_DIR=/usr/local/ppc/bin |
5 | 5 | ||
6 | CC=$(PPC_CC_DIR)/$(PPC_TARGET)-gcc |
6 | CC=$(PPC_CC_DIR)/$(PPC_TARGET)-gcc |
7 | AS=$(PPC_BINUTILS_DIR)/$(PPC_TARGET)-as |
7 | AS=$(PPC_BINUTILS_DIR)/$(PPC_TARGET)-as |
8 | LD=$(PPC_BINUTILS_DIR)/$(PPC_TARGET)-ld |
8 | LD=$(PPC_BINUTILS_DIR)/$(PPC_TARGET)-ld |
9 | OBJCOPY=$(PPC_BINUTILS_DIR)/$(PPC_TARGET)-objcopy |
9 | OBJCOPY=$(PPC_BINUTILS_DIR)/$(PPC_TARGET)-objcopy |
10 | BFD_NAME=elf32-powerpc |
10 | BFD_NAME=elf32-powerpc |
11 | BFD_ARCH=powerpc |
11 | BFD_ARCH=powerpc |
12 | 12 | ||
13 | ASFLAGS= |
13 | ASFLAGS= |
14 | 14 | ||
15 | DEFS=-DARCH=$(ARCH) |
15 | DEFS=-DARCH=$(ARCH) |
16 | CPPFLAGS=$(DEFS) -nostdinc -I../include |
16 | CPPFLAGS=$(DEFS) -nostdinc -I../include |
17 | CFLAGS=$(CPPFLAGS) -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O2 |
17 | CFLAGS=$(CPPFLAGS) -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O2 |
18 | LFLAGS=-M -no-check-sections -N -T ../arch/ppc/_link.ld |
18 | LFLAGS=-M -no-check-sections -N |
19 | 19 | ||
20 | arch_sources= \ |
20 | arch_sources= \ |
21 | arch/context.S \ |
21 | arch/context.S \ |
22 | arch/debug/panic.s \ |
22 | arch/debug/panic.s \ |
23 | arch/fpu_context.c \ |
23 | arch/fpu_context.c \ |
24 | arch/ppc.c \ |
24 | arch/ppc.c \ |
25 | arch/dummy.s \ |
25 | arch/dummy.s \ |
26 | arch/start.S \ |
26 | arch/start.S \ |
27 | arch/asm.S \ |
27 | arch/asm.S \ |
28 | arch/cpu/cpu.c \ |
28 | arch/cpu/cpu.c \ |
29 | arch/mm/frame.c \ |
29 | arch/mm/frame.c \ |
30 | arch/mm/memory_init.c \ |
30 | arch/mm/memory_init.c \ |
31 | arch/mm/page.c \ |
31 | arch/mm/page.c \ |
32 | arch/drivers/ofw.c \ |
32 | arch/drivers/ofw.c \ |
33 | arch/fmath.c |
33 | arch/fmath.c |
34 | 34 |