Rev 3369 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3369 | Rev 3882 | ||
---|---|---|---|
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 = amd64-linux-gnu |
32 | TARGET = amd64-linux-gnu |
37 | TOOLCHAIN_DIR = $(CROSS_PREFIX)/amd64/bin |
33 | TOOLCHAIN_DIR = $(CROSS_PREFIX)/amd64/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 | 38 | ||
43 | LFLAGS += -N |
39 | LFLAGS += -N |
44 | 40 | ||
45 | BFD_NAME = elf64-x86-64 |
41 | BFD_NAME = elf64-x86-64 |
46 | BFD_ARCH = i386:x86-64 |
42 | BFD_ARCH = i386:x86-64 |