source: mainline/arch/mips/Makefile.inc@ 7dd56f1

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 7dd56f1 was e2e56fa9, checked in by Jakub Jermar <jakub@…>, 20 years ago

Add -mno-abicalls to prevent generating of PIC code.
Remove -mxgot option.
The MIPS port is functional again.

  • Property mode set to 100644
File size: 742 bytes
Line 
1MIPS_TARGET=mipsel-linux-gnu
2
3MIPS_CC_DIR=/usr/local/mipsel/bin
4MIPS_BINUTILS_DIR=/usr/local/mipsel/bin
5
6CC=$(MIPS_CC_DIR)/$(MIPS_TARGET)-gcc
7AS=$(MIPS_BINUTILS_DIR)/$(MIPS_TARGET)-as
8LD=$(MIPS_BINUTILS_DIR)/$(MIPS_TARGET)-ld
9
10ASFLAGS=-mips3
11
12DEFS=-DARCH=$(ARCH)
13CPPFLAGS=$(DEFS) -mno-abicalls -nostdinc -I../include
14CFLAGS=$(CPPFLAGS) -mips2 -G 0 -nostdlib -fno-builtin -Wmissing-prototypes -Werror -O2
15LFLAGS=-mips2 -M -no-check-sections -T ../arch/mips/_link.ld
16
17arch_sources= \
18 arch/start.S \
19 arch/context.S \
20 arch/panic.s \
21 arch/mips.c \
22 arch/fake.s \
23 arch/putchar.c \
24 arch/asm.s \
25 arch/exception.c \
26 arch/interrupt.c \
27 arch/cache.c \
28 arch/cpu/cpu.c \
29 arch/mm/frame.c \
30 arch/mm/page.c \
31 arch/mm/tlb.c \
32 arch/fpu_context.c
Note: See TracBrowser for help on using the repository browser.