Rev 289 | Rev 326 | 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 | 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 | OBJDUMP=$(PPC_BINUTILS_DIR)/$(PPC_TARGET)-objdump |
|
9 | OBJCOPY=$(PPC_BINUTILS_DIR)/$(PPC_TARGET)-objcopy |
10 | OBJCOPY=$(PPC_BINUTILS_DIR)/$(PPC_TARGET)-objcopy |
10 | BFD_NAME=elf32-powerpc |
11 | BFD_NAME=elf32-powerpc |
11 | BFD_ARCH=powerpc |
12 | BFD_ARCH=powerpc |
12 | 13 | ||
13 | ASFLAGS= |
14 | ASFLAGS= |
14 | 15 | ||
15 | DEFS=-DARCH=$(ARCH) |
16 | DEFS=-DARCH=$(ARCH) |
16 | CPPFLAGS=$(DEFS) -nostdinc -I../include |
17 | CPPFLAGS=$(DEFS) -nostdinc -I../include |
17 | CFLAGS=$(CPPFLAGS) -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O2 |
18 | CFLAGS=$(CPPFLAGS) -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O2 |
18 | LFLAGS=-M -no-check-sections -N |
19 | LFLAGS=-M -no-check-sections -N |
19 | 20 | ||
20 | arch_sources= \ |
21 | arch_sources= \ |
21 | arch/context.S \ |
22 | arch/context.S \ |
22 | arch/debug/panic.s \ |
23 | arch/debug/panic.s \ |
23 | arch/fpu_context.c \ |
24 | arch/fpu_context.c \ |
24 | arch/ppc.c \ |
25 | arch/ppc.c \ |
25 | arch/dummy.s \ |
26 | arch/dummy.s \ |
26 | arch/start.S \ |
27 | arch/start.S \ |
27 | arch/asm.S \ |
28 | arch/asm.S \ |
28 | arch/cpu/cpu.c \ |
29 | arch/cpu/cpu.c \ |
29 | arch/mm/frame.c \ |
30 | arch/mm/frame.c \ |
30 | arch/mm/memory_init.c \ |
31 | arch/mm/memory_init.c \ |
31 | arch/mm/page.c \ |
32 | arch/mm/page.c \ |
32 | arch/drivers/ofw.c \ |
33 | arch/drivers/ofw.c \ |
33 | arch/fmath.c |
34 | arch/fmath.c |
34 | 35 |