Rev 3403 | Rev 4346 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3403 | Rev 4342 | ||
---|---|---|---|
Line 27... | Line 27... | ||
27 | # |
27 | # |
28 | 28 | ||
29 | ## Toolchain configuration |
29 | ## Toolchain configuration |
30 | # |
30 | # |
31 | 31 | ||
32 | ifndef CROSS_PREFIX |
- | |
33 | CROSS_PREFIX = /usr/local |
- | |
34 | endif |
- | |
35 | - | ||
36 | TARGET = mips-sgi-irix5 |
32 | TARGET = mips-sgi-irix5 |
37 | TOOLCHAIN_DIR = $(CROSS_PREFIX)/mips/bin |
33 | TOOLCHAIN_DIR = $(CROSS_PREFIX)/mips/bin |
38 | CFLAGS += -mips3 |
34 | CFLAGS += -mips3 |
39 | 35 | ||
40 | ARCH_SOURCES += arch/$(ARCH)/src/syscall.c \ |
36 | ARCH_SOURCES += arch/$(UARCH)/src/syscall.c \ |
41 | arch/$(ARCH)/src/fibril.S \ |
37 | arch/$(UARCH)/src/fibril.S \ |
42 | arch/$(ARCH)/src/tls.c |
38 | arch/$(UARCH)/src/tls.c |
43 | 39 | ||
44 | LFLAGS += -N |
40 | LFLAGS += -N |
45 | 41 | ||
46 | BFD_ARCH = mips |
42 | BFD_ARCH = mips |
47 | BFD_NAME = elf32-big |
43 | BFD_NAME = elf32-big |