Rev 2185 | Rev 2479 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2185 | Rev 2438 | ||
---|---|---|---|
Line 33... | Line 33... | ||
33 | # |
33 | # |
34 | 34 | ||
35 | TARGET = ppc-linux-gnu |
35 | TARGET = ppc-linux-gnu |
36 | TOOLCHAIN_DIR = /usr/local/ppc/bin |
36 | TOOLCHAIN_DIR = /usr/local/ppc/bin |
37 | 37 | ||
38 | ifeq ($(COMPILER),native) |
38 | ifeq ($(COMPILER),gcc_native) |
39 | CC = gcc |
39 | CC = gcc |
40 | AS = as |
40 | AS = as |
41 | LD = ld |
41 | LD = ld |
42 | OBJCOPY = objcopy |
42 | OBJCOPY = objcopy |
43 | OBJDUMP = objdump |
43 | OBJDUMP = objdump |
44 | else |
44 | endif |
- | 45 | ||
- | 46 | ifeq ($(COMPILER),icc_native) |
|
- | 47 | CC = icc |
|
- | 48 | AS = as |
|
- | 49 | LD = ld |
|
- | 50 | OBJCOPY = objcopy |
|
- | 51 | OBJDUMP = objdump |
|
- | 52 | endif |
|
- | 53 | ||
- | 54 | ifeq ($(COMPILER),gcc_cross) |
|
45 | CC = $(TOOLCHAIN_DIR)/$(TARGET)-gcc |
55 | CC = $(TOOLCHAIN_DIR)/$(TARGET)-gcc |
46 | AS = $(TOOLCHAIN_DIR)/$(TARGET)-as |
56 | AS = $(TOOLCHAIN_DIR)/$(TARGET)-as |
47 | LD = $(TOOLCHAIN_DIR)/$(TARGET)-ld |
57 | LD = $(TOOLCHAIN_DIR)/$(TARGET)-ld |
48 | OBJCOPY = $(TOOLCHAIN_DIR)/$(TARGET)-objcopy |
58 | OBJCOPY = $(TOOLCHAIN_DIR)/$(TARGET)-objcopy |
49 | OBJDUMP = $(TOOLCHAIN_DIR)/$(TARGET)-objdump |
59 | OBJDUMP = $(TOOLCHAIN_DIR)/$(TARGET)-objdump |