lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
Last change
on this file since 4f1475d4 was 4f1475d4, checked in by Ondrej Palkovsky <ondrap@…>, 20 years ago |
|
Added preprocessed linker script to AMD architecture, so that
the constants are all only in the header files.
|
-
Property mode
set to
100644
|
|
File size:
881 bytes
|
| Line | |
|---|
| 1 | MIPS_TARGET=mipsel-linux-gnu
|
|---|
| 2 |
|
|---|
| 3 | MIPS_CC_DIR=/usr/local/mipsel/bin
|
|---|
| 4 | MIPS_BINUTILS_DIR=/usr/local/mipsel/bin
|
|---|
| 5 |
|
|---|
| 6 | CC=$(MIPS_CC_DIR)/$(MIPS_TARGET)-gcc
|
|---|
| 7 | AS=$(MIPS_BINUTILS_DIR)/$(MIPS_TARGET)-as
|
|---|
| 8 | LD=$(MIPS_BINUTILS_DIR)/$(MIPS_TARGET)-ld
|
|---|
| 9 | OBJCOPY=$(MIPS_BINUTILS_DIR)/$(MIPS_TARGET)-objcopy
|
|---|
| 10 | BFD_NAME=elf32-tradlittlemips
|
|---|
| 11 | BFD_ARCH=mips
|
|---|
| 12 |
|
|---|
| 13 | ASFLAGS=-mips3
|
|---|
| 14 |
|
|---|
| 15 | DEFS=-DARCH=$(ARCH)
|
|---|
| 16 | CPPFLAGS=$(DEFS) -mno-abicalls -nostdinc -I../include
|
|---|
| 17 | CFLAGS=$(CPPFLAGS) -mips2 -G 0 -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O2 -msoft-float
|
|---|
| 18 | LFLAGS=-mips2 -M -no-check-sections
|
|---|
| 19 |
|
|---|
| 20 | arch_sources= \
|
|---|
| 21 | arch/start.S \
|
|---|
| 22 | arch/context.S \
|
|---|
| 23 | arch/panic.s \
|
|---|
| 24 | arch/mips.c \
|
|---|
| 25 | arch/dummy.s \
|
|---|
| 26 | arch/putchar.c \
|
|---|
| 27 | arch/asm.s \
|
|---|
| 28 | arch/exception.c \
|
|---|
| 29 | arch/interrupt.c \
|
|---|
| 30 | arch/cache.c \
|
|---|
| 31 | arch/cpu/cpu.c \
|
|---|
| 32 | arch/mm/frame.c \
|
|---|
| 33 | arch/mm/page.c \
|
|---|
| 34 | arch/mm/tlb.c \
|
|---|
| 35 | arch/fpu_context.c \
|
|---|
| 36 | arch/fmath.c
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.