Rev 3343 | Go to most recent revision | 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 = 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) |