lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
Last change
on this file since ae9624e was ae9624e, checked in by Ondrej Palkovsky <ondrap@…>, 21 years ago |
|
Symbol table now contains static functions too.
NOTE: gcc heavily inlines, be aware of optimizations.
Removed excesive item from boot page tables.
|
-
Property mode
set to
100644
|
|
File size:
819 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 | OBJDUMP=$(PPC_BINUTILS_DIR)/$(PPC_TARGET)-objdump
|
|---|
| 10 | OBJCOPY=$(PPC_BINUTILS_DIR)/$(PPC_TARGET)-objcopy
|
|---|
| 11 | BFD_NAME=elf32-powerpc
|
|---|
| 12 | BFD_ARCH=powerpc
|
|---|
| 13 |
|
|---|
| 14 | ASFLAGS=
|
|---|
| 15 |
|
|---|
| 16 | DEFS=-DARCH=$(ARCH)
|
|---|
| 17 | CPPFLAGS=$(DEFS) -nostdinc -I../include
|
|---|
| 18 | CFLAGS=$(CPPFLAGS) -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O2
|
|---|
| 19 | LFLAGS=-M -no-check-sections -N
|
|---|
| 20 |
|
|---|
| 21 | arch_sources= \
|
|---|
| 22 | arch/context.S \
|
|---|
| 23 | arch/debug/panic.s \
|
|---|
| 24 | arch/fpu_context.c \
|
|---|
| 25 | arch/ppc.c \
|
|---|
| 26 | arch/dummy.s \
|
|---|
| 27 | arch/start.S \
|
|---|
| 28 | arch/asm.S \
|
|---|
| 29 | arch/cpu/cpu.c \
|
|---|
| 30 | arch/mm/frame.c \
|
|---|
| 31 | arch/mm/memory_init.c \
|
|---|
| 32 | arch/mm/page.c \
|
|---|
| 33 | arch/drivers/ofw.c \
|
|---|
| 34 | arch/fmath.c
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.