Rev 3386 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3386 | Rev 4153 | ||
---|---|---|---|
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 = sparc64-linux-gnu |
32 | TARGET = sparc64-linux-gnu |
37 | TOOLCHAIN_DIR = $(CROSS_PREFIX)/sparc64/bin |
33 | TOOLCHAIN_DIR = $(CROSS_PREFIX)/sparc64/bin |
38 | 34 | ||
39 | ARCH_SOURCES += arch/$(ARCH)/src/fibril.S \ |
35 | ARCH_SOURCES += arch/$(UARCH)/src/fibril.S \ |
40 | arch/$(ARCH)/src/tls.c |
36 | arch/$(UARCH)/src/tls.c |
41 | 37 | ||
42 | CFLAGS += -mcpu=ultrasparc -m64 |
38 | CFLAGS += -mcpu=ultrasparc -m64 |
43 | LFLAGS += -no-check-sections -N |
39 | LFLAGS += -no-check-sections -N |
44 | 40 | ||
45 | BFD_NAME = elf64-sparc |
41 | BFD_NAME = elf64-sparc |