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 29... | Line 29... | ||
29 | 29 | ||
30 | ## Toolchain configuration |
30 | ## Toolchain configuration |
31 | # |
31 | # |
32 | 32 | ||
33 | TARGET = arm-linux-gnu |
33 | TARGET = arm-linux-gnu |
34 | TOOLCHAIN_DIR = /usr/local/arm/bin |
34 | TOOLCHAIN_DIR = $(CROSS_PREFIX)/arm/bin |
35 | CFLAGS += -ffixed-r9 -mtp=soft |
35 | CFLAGS += -ffixed-r9 -mtp=soft |
36 | LFLAGS += -N $(SOFTINT_PREFIX)/libsoftint.a |
36 | LFLAGS += -N $(SOFTINT_PREFIX)/libsoftint.a |
37 | AFLAGS += |
37 | AFLAGS += |
38 | 38 | ||
39 | ARCH_SOURCES += arch/$(ARCH)/src/syscall.c \ |
39 | ARCH_SOURCES += arch/$(UARCH)/src/syscall.c \ |
40 | arch/$(ARCH)/src/fibril.S \ |
40 | arch/$(UARCH)/src/fibril.S \ |
41 | arch/$(ARCH)/src/tls.c \ |
41 | arch/$(UARCH)/src/tls.c \ |
42 | arch/$(ARCH)/src/eabi.S |
42 | arch/$(UARCH)/src/eabi.S |
43 | 43 | ||
44 | BFD_NAME = elf32-littlearm |
44 | BFD_NAME = elf32-littlearm |
45 | BFD_ARCH = arm |
45 | BFD_ARCH = arm |