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 = ppc-linux-gnu |
32 | TARGET = ppc-linux-gnu |
33 | TOOLCHAIN_DIR = /usr/local/ppc/bin |
33 | TOOLCHAIN_DIR = $(CROSS_PREFIX)/ppc/bin |
34 | 34 | ||
35 | ARCH_SOURCES += arch/$(ARCH)/src/syscall.c \ |
35 | ARCH_SOURCES += arch/$(UARCH)/src/syscall.c \ |
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 | CFLAGS += -mcpu=powerpc -msoft-float -m32 |
39 | CFLAGS += -mcpu=powerpc -msoft-float -m32 |
40 | AFLAGS += -a32 |
40 | AFLAGS += -a32 |
41 | LFLAGS += -N |
41 | LFLAGS += -N |
42 | 42 |