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