Rev 156 | Rev 160 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 156 | Rev 157 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | MIPS_CC_DIR=/usr/local/ppc/bin |
1 | PPC_CC_DIR=/usr/local/ppc/bin |
2 | CC=$(MIPS_CC_DIR)/ppc-linux-gnu-gcc |
2 | CC=$(PPC_CC_DIR)/ppc-linux-gnu-gcc |
3 | AS=$(MIPS_CC_DIR)/ppc-linux-gnu-as |
3 | AS=$(PPC_CC_DIR)/ppc-linux-gnu-as |
4 | LD=$(MIPS_CC_DIR)/ppc-linux-gnu-ld |
4 | LD=$(PPC_CC_DIR)/ppc-linux-gnu-ld |
5 | 5 | ||
6 | ASFLAGS= |
6 | ASFLAGS= |
7 | 7 | ||
8 | DEFS=-DARCH=$(ARCH) |
8 | DEFS=-DARCH=$(ARCH) |
9 | CPPFLAGS=$(DEFS) -nostdinc -I../include |
9 | CPPFLAGS=$(DEFS) -nostdinc -I../include |
10 | CFLAGS=$(CPPFLAGS) -nostdlib -fno-builtin -Wmissing-prototypes -Werror -O2 |
10 | CFLAGS=$(CPPFLAGS) -nostdlib -fno-builtin -Wmissing-prototypes -Werror -O2 |
11 | LFLAGS=-M -no-check-sections -T ../arch/mips/_link.ld |
11 | LFLAGS=-M -no-check-sections -T ../arch/ppc/_link.ld |
12 | 12 | ||
13 | arch_sources= \ |
13 | arch_sources= \ |
14 | arch/powerpc.c \ |
14 | arch/powerpc.c \ |
15 | arch/fpu_context.c |
15 | arch/fpu_context.c |