Rev 3022 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3022 | Rev 4055 | ||
---|---|---|---|
Line 28... | Line 28... | ||
28 | 28 | ||
29 | ## Toolchain configuration |
29 | ## Toolchain configuration |
30 | # |
30 | # |
31 | 31 | ||
32 | TARGET = amd64-linux-gnu |
32 | TARGET = amd64-linux-gnu |
33 | TOOLCHAIN_DIR = /usr/local/amd64/bin |
33 | TOOLCHAIN_DIR = $(CROSS_PREFIX)/amd64/bin |
34 | 34 | ||
35 | ARCH_SOURCES += arch/$(ARCH)/src/syscall.S \ |
35 | ARCH_SOURCES += arch/$(UARCH)/src/syscall.S \ |
36 | arch/$(ARCH)/src/fibril.S \ |
36 | arch/$(UARCH)/src/fibril.S \ |
37 | arch/$(ARCH)/src/tls.c |
37 | arch/$(UARCH)/src/tls.c |
38 | 38 | ||
39 | LFLAGS += -N |
39 | LFLAGS += -N |
40 | 40 | ||
41 | BFD_NAME = elf64-x86-64 |
41 | BFD_NAME = elf64-x86-64 |
42 | BFD_ARCH = i386:x86-64 |
42 | BFD_ARCH = i386:x86-64 |