Rev 3349 | Rev 3407 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3349 | Rev 3368 | ||
---|---|---|---|
Line 30... | Line 30... | ||
30 | include ../../../Makefile.config |
30 | include ../../../Makefile.config |
31 | 31 | ||
32 | ## Toolchain configuration |
32 | ## Toolchain configuration |
33 | # |
33 | # |
34 | 34 | ||
- | 35 | ifndef CROSS_PREFIX |
|
- | 36 | CROSS_PREFIX = /usr/local |
|
- | 37 | endif |
|
- | 38 | ||
35 | BFD_NAME = elf64-sparc |
39 | BFD_NAME = elf64-sparc |
36 | BFD_ARCH = sparc |
40 | BFD_ARCH = sparc |
37 | TARGET = sparc64-linux-gnu |
41 | TARGET = sparc64-linux-gnu |
38 | TOOLCHAIN_DIR = /usr/local/sparc64/bin |
42 | TOOLCHAIN_DIR = $(CROSS_PREFIX)/sparc64/bin |
39 | 43 | ||
40 | ifeq ($(COMPILER),gcc_native) |
44 | ifeq ($(COMPILER),gcc_native) |
41 | CC = gcc |
45 | CC = gcc |
42 | AS = as |
46 | AS = as |
43 | LD = ld |
47 | LD = ld |