Rev 3343 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3343 | Rev 3397 | ||
---|---|---|---|
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-x86-64 |
36 | BFD_NAME = elf64-x86-64 |
33 | BFD_ARCH = i386:x86-64 |
37 | BFD_ARCH = i386:x86-64 |
34 | BFD = binary |
38 | BFD = binary |
35 | TARGET = amd64-linux-gnu |
39 | TARGET = amd64-linux-gnu |
36 | TOOLCHAIN_DIR = /usr/local/amd64 |
40 | TOOLCHAIN_DIR = $(CROSS_PREFIX)/amd64 |
37 | 41 | ||
38 | FPU_NO_CFLAGS = -mno-sse -mno-sse2 |
42 | FPU_NO_CFLAGS = -mno-sse -mno-sse2 |
39 | CMN1 = -m64 -mcmodel=kernel -mno-red-zone -fno-unwind-tables |
43 | CMN1 = -m64 -mcmodel=kernel -mno-red-zone -fno-unwind-tables |
40 | GCC_CFLAGS += $(CMN1) |
44 | GCC_CFLAGS += $(CMN1) |
41 | ICC_CFLAGS += $(CMN1) |
45 | ICC_CFLAGS += $(CMN1) |