Rev 2973 | Rev 2996 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2973 | Rev 2982 | ||
---|---|---|---|
Line 32... | Line 32... | ||
32 | ## Setup toolchain |
32 | ## Setup toolchain |
33 | # |
33 | # |
34 | 34 | ||
35 | LIBC_PREFIX = ../../lib/libc |
35 | LIBC_PREFIX = ../../lib/libc |
36 | SOFTINT_PREFIX = ../../lib/softint |
36 | SOFTINT_PREFIX = ../../lib/softint |
- | 37 | RTLD_PREFIX = ../../lib/rtld |
|
37 | include $(LIBC_PREFIX)/Makefile.toolchain |
38 | include $(LIBC_PREFIX)/Makefile.toolchain |
38 | 39 | ||
39 | CFLAGS += -I../../lib/libtest -O0 |
40 | CFLAGS += -I../../lib/libc -O0 |
40 | LFLAGS := -Bdynamic -I/rtld.so |
41 | LFLAGS := -Bdynamic -I/rtld.so -rpath-link $(RTLD_PREFIX) |
41 | 42 | ||
42 | # LIBS = $(LIBC_PREFIX)/libc.a |
43 | # LIBS = $(LIBC_PREFIX)/libc.a |
43 | LIBS = ../../lib/libtest/libtest.so.0 |
44 | LIBS = ../../lib/libc-shared/libc.so.0 |
44 | DEFS += -DRELEASE=\"$(RELEASE)\" |
45 | DEFS += -DRELEASE=\"$(RELEASE)\" |
45 | 46 | ||
46 | ifdef REVISION |
47 | ifdef REVISION |
47 | DEFS += "-DREVISION=\"$(REVISION)\"" |
48 | DEFS += "-DREVISION=\"$(REVISION)\"" |
48 | endif |
49 | endif |