Rev 3425 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3425 | Rev 4377 | ||
---|---|---|---|
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 | - | ||
36 | TARGET = i686-pc-linux-gnu |
32 | TARGET = i686-pc-linux-gnu |
37 | TOOLCHAIN_DIR = $(CROSS_PREFIX)/i686/bin |
33 | TOOLCHAIN_DIR = $(CROSS_PREFIX)/i686/bin |
38 | 34 | ||
39 | ARCH_SOURCES += arch/$(ARCH)/src/syscall.S \ |
35 | ARCH_SOURCES += arch/$(UARCH)/src/syscall.S \ |
40 | arch/$(ARCH)/src/fibril.S \ |
36 | arch/$(UARCH)/src/fibril.S \ |
41 | arch/$(ARCH)/src/tls.c \ |
37 | arch/$(UARCH)/src/tls.c \ |
42 | arch/$(ARCH)/src/setjmp.S |
38 | arch/$(UARCH)/src/setjmp.S |
43 | 39 | ||
44 | LFLAGS += -N |
40 | LFLAGS += -N |
45 | 41 | ||
46 | BFD_NAME = elf32-i386 |
42 | BFD_NAME = elf32-i386 |
47 | BFD_ARCH = i386 |
43 | BFD_ARCH = i386 |