source:
mainline/arch/ppc/Makefile.inc@
470c468
Last change on this file since 470c468 was 393f631, checked in by , 20 years ago | |
---|---|
|
|
File size: 687 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 | |
[9c0a9b3] | 14 | CFLAGS=$(CPPFLAGS) -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O2 |
[393f631] | 15 | LFLAGS=-M -no-check-sections -N -T ../arch/ppc/_link.ld |
[f761f1eb] | 16 | |
17 | arch_sources= \ | |
[b524f816] | 18 | arch/context.S \ |
[10caad0] | 19 | arch/debug/panic.s \ |
[2e5365f3] | 20 | arch/fpu_context.c \ |
[393f631] | 21 | arch/ppc.c \ |
[3902f8a4] | 22 | arch/dummy.s \ |
[efa9b73] | 23 | arch/start.S \ |
[393f631] | 24 | arch/asm.S \ |
25 | arch/cpu/cpu.c \ | |
[efa9b73] | 26 | arch/mm/frame.c \ |
[10caad0] | 27 | arch/mm/memory_init.c \ |
[6a4177a] | 28 | arch/mm/page.c \ |
[dfbc229] | 29 | arch/drivers/ofw.c |
Note:
See TracBrowser
for help on using the repository browser.