lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
Last change
on this file since d9f81af3 was 393f631, checked in by Martin Decky <martin@…>, 20 years ago |
|
many PPC stuff, platform dependent arch.h header files
|
-
Property mode
set to
100644
|
|
File size:
687 bytes
|
| Line | |
|---|
| 1 | PPC_TARGET=ppc-linux-gnu
|
|---|
| 2 |
|
|---|
| 3 | PPC_CC_DIR=/usr/local/ppc/bin
|
|---|
| 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
|
|---|
| 9 |
|
|---|
| 10 | ASFLAGS=
|
|---|
| 11 |
|
|---|
| 12 | DEFS=-DARCH=$(ARCH)
|
|---|
| 13 | CPPFLAGS=$(DEFS) -nostdinc -I../include
|
|---|
| 14 | CFLAGS=$(CPPFLAGS) -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O2
|
|---|
| 15 | LFLAGS=-M -no-check-sections -N -T ../arch/ppc/_link.ld
|
|---|
| 16 |
|
|---|
| 17 | arch_sources= \
|
|---|
| 18 | arch/context.S \
|
|---|
| 19 | arch/debug/panic.s \
|
|---|
| 20 | arch/fpu_context.c \
|
|---|
| 21 | arch/ppc.c \
|
|---|
| 22 | arch/dummy.s \
|
|---|
| 23 | arch/start.S \
|
|---|
| 24 | arch/asm.S \
|
|---|
| 25 | arch/cpu/cpu.c \
|
|---|
| 26 | arch/mm/frame.c \
|
|---|
| 27 | arch/mm/memory_init.c \
|
|---|
| 28 | arch/mm/page.c \
|
|---|
| 29 | arch/drivers/ofw.c
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.