Rev 2927 | Rev 4342 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2927 | Rev 3403 | ||
---|---|---|---|
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 | ||
32 | BFD_NAME = elf64-sparc |
36 | BFD_NAME = elf64-sparc |
33 | BFD_ARCH = sparc |
37 | BFD_ARCH = sparc |
34 | BFD = binary |
38 | BFD = binary |
35 | TARGET = sparc64-linux-gnu |
39 | TARGET = sparc64-linux-gnu |
36 | TOOLCHAIN_DIR = /usr/local/sparc64 |
40 | TOOLCHAIN_DIR = $(CROSS_PREFIX)/sparc64 |
37 | 41 | ||
38 | GCC_CFLAGS += -m64 -mcpu=ultrasparc |
42 | GCC_CFLAGS += -m64 -mcpu=ultrasparc |
39 | SUNCC_CFLAGS += -m64 -xarch=sparc -xregs=appl,no%float |
43 | SUNCC_CFLAGS += -m64 -xarch=sparc -xregs=appl,no%float |
40 | 44 | ||
41 | LFLAGS += -no-check-sections -N |
45 | LFLAGS += -no-check-sections -N |