source:
mainline/arch/ppc/Makefile.inc@
8fc0d455
Last change on this file since 8fc0d455 was 10caad0, checked in by , 20 years ago | |
---|---|
|
|
File size: 610 bytes |
Rev | Line | |
---|---|---|
[efa9b73] | 1 | PPC_TARGET=ppc-linux-gnu |
2 | ||
[c913e456] | 3 | PPC_CC_DIR=/usr/local/ppc/bin |
[efa9b73] | 4 | PPC_BINUTILS_DIR=/usr/local/ppc/bin |
5 | ||
6 | CC=$(PPC_CC_DIR)/$(PPC_TARGET)-gcc | |
7 | AS=$(PPC_BINUTILS_DIR)/$(PPC_TARGET)-as | |
8 | LD=$(PPC_BINUTILS_DIR)/$(PPC_TARGET)-ld | |
[f761f1eb] | 9 | |
10 | ASFLAGS= | |
11 | ||
12 | DEFS=-DARCH=$(ARCH) | |
13 | CPPFLAGS=$(DEFS) -nostdinc -I../include | |
14 | CFLAGS=$(CPPFLAGS) -nostdlib -fno-builtin -Wmissing-prototypes -Werror -O2 | |
[c913e456] | 15 | LFLAGS=-M -no-check-sections -T ../arch/ppc/_link.ld |
[f761f1eb] | 16 | |
17 | arch_sources= \ | |
[c723d7a1] | 18 | arch/ppc.c \ |
[10caad0] | 19 | arch/debug/panic.s \ |
[2e5365f3] | 20 | arch/fpu_context.c \ |
[3902f8a4] | 21 | arch/dummy.s \ |
[efa9b73] | 22 | arch/start.S \ |
23 | arch/asm.s \ | |
24 | arch/mm/frame.c \ | |
[10caad0] | 25 | arch/mm/memory_init.c \ |
[6a4177a] | 26 | arch/mm/page.c \ |
[dfbc229] | 27 | arch/drivers/ofw.c |
Note:
See TracBrowser
for help on using the repository browser.