source:
mainline/arch/ppc/Makefile.inc@
b07769b6
Last change on this file since b07769b6 was 6a4177a, checked in by , 20 years ago | |
---|---|
|
|
File size: 563 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 \ |
[2e5365f3] | 19 | arch/fpu_context.c \ |
[3902f8a4] | 20 | arch/dummy.s \ |
[efa9b73] | 21 | arch/start.S \ |
22 | arch/asm.s \ | |
23 | arch/mm/frame.c \ | |
[6a4177a] | 24 | arch/mm/page.c \ |
25 | arch/drivers/vga.c |
Note:
See TracBrowser
for help on using the repository browser.