Rev 3424 | Rev 3431 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3424 | Rev 3425 | ||
---|---|---|---|
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 = elf32-i386 |
36 | BFD_NAME = elf32-i386 |
33 | BFD_ARCH = i386 |
37 | BFD_ARCH = i386 |
34 | BFD = binary |
38 | BFD = binary |
35 | TARGET = i686-pc-linux-gnu |
39 | TARGET = i686-pc-linux-gnu |
36 | TOOLCHAIN_DIR = /usr/local/i686 |
40 | TOOLCHAIN_DIR = $(CROSS_PREFIX)/i686 |
37 | 41 | ||
38 | DEFS += -DMACHINE=$(MACHINE) -D__32_BITS__ |
42 | DEFS += -DMACHINE=$(MACHINE) -D__32_BITS__ |
39 | 43 | ||
40 | CMN1 = -m32 |
44 | CMN1 = -m32 |
41 | GCC_CFLAGS += $(CMN1) |
45 | GCC_CFLAGS += $(CMN1) |
Line 72... | Line 76... | ||
72 | SUNCC_CFLAGS += -xarch=sse |
76 | SUNCC_CFLAGS += -xarch=sse |
73 | DEFS += -DCONFIG_FENCES_P3 |
77 | DEFS += -DCONFIG_FENCES_P3 |
74 | CONFIG_HT = n |
78 | CONFIG_HT = n |
75 | endif |
79 | endif |
76 | ifeq ($(MACHINE),core) |
80 | ifeq ($(MACHINE),core) |
77 | FPU_NO_CFLAGS = -mno-mmmx -mno-sse -mno-sse2 -mno-sse3 |
81 | FPU_NO_CFLAGS = -mno-mmx -mno-sse -mno-sse2 -mno-sse3 |
78 | CMN2 = -march=prescott |
82 | CMN2 = -march=prescott |
79 | GCC_CFLAGS += $(CMN2) |
83 | GCC_CFLAGS += $(CMN2) |
80 | ICC_CFLAGS += $(CMN2) |
84 | ICC_CFLAGS += $(CMN2) |
81 | SUNCC_CFLAGS += -xarch=sse3 |
85 | SUNCC_CFLAGS += -xarch=sse3 |
82 | DEFS += -DCONFIG_FENCES_P4 |
86 | DEFS += -DCONFIG_FENCES_P4 |