Rev 2128 | Rev 2479 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2128 | Rev 2465 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | # |
1 | # |
2 | # Copyright (c) 2005 Martin Decky |
2 | # Copyright (c) 2007 Michal Kebrt, Pavel Jancik |
3 | # All rights reserved. |
3 | # All rights reserved. |
4 | # |
4 | # |
5 | # Redistribution and use in source and binary forms, with or without |
5 | # Redistribution and use in source and binary forms, with or without |
6 | # modification, are permitted provided that the following conditions |
6 | # modification, are permitted provided that the following conditions |
7 | # are met: |
7 | # are met: |
Line 29... | Line 29... | ||
29 | ## Toolchain configuration |
29 | ## Toolchain configuration |
30 | # |
30 | # |
31 | 31 | ||
32 | TARGET = arm-linux-gnu |
32 | TARGET = arm-linux-gnu |
33 | TOOLCHAIN_DIR = /usr/local/arm/bin |
33 | TOOLCHAIN_DIR = /usr/local/arm/bin |
34 | CFLAGS += |
34 | CFLAGS += -ffixed-r9 -mtp=soft |
35 | LFLAGS += -N ../softint/libsoftint.a |
35 | LFLAGS += -N ../softint/libsoftint.a |
36 | AFLAGS += |
36 | AFLAGS += |
37 | 37 | ||
38 | ARCH_SOURCES += arch/$(ARCH)/src/syscall.c \ |
38 | ARCH_SOURCES += arch/$(ARCH)/src/syscall.c \ |
39 | arch/$(ARCH)/src/psthread.S \ |
39 | arch/$(ARCH)/src/psthread.S \ |
40 | arch/$(ARCH)/src/thread.c \ |
40 | arch/$(ARCH)/src/thread.c \ |
41 | arch/$(ARCH)/src/dummy.S |
41 | arch/$(ARCH)/src/eabi.S |
42 | 42 | ||
43 | BFD_NAME = elf32-little |
43 | BFD_NAME = elf32-little |
44 | BFD_ARCH = arm |
44 | BFD_ARCH = arm |