Rev 3400 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3400 | Rev 3552 | ||
---|---|---|---|
Line 35... | Line 35... | ||
35 | LIBC_PREFIX = ../../lib/libc |
35 | LIBC_PREFIX = ../../lib/libc |
36 | SOFTINT_PREFIX = ../../lib/softint |
36 | SOFTINT_PREFIX = ../../lib/softint |
37 | include $(LIBC_PREFIX)/Makefile.toolchain |
37 | include $(LIBC_PREFIX)/Makefile.toolchain |
38 | include arch/$(ARCH)/Makefile.inc |
38 | include arch/$(ARCH)/Makefile.inc |
39 | 39 | ||
40 | CFLAGS += -Iinclude -I../../srv/loader/include -fPIC -O0 -ggdb |
40 | #CFLAGS += -Iinclude -I../../srv/loader/include -fPIC -O0 -ggdb |
41 | LFLAGS += -shared --no-undefined -soname rtld.so |
41 | #LFLAGS += -shared --no-undefined -soname rtld.so |
- | 42 | CFLAGS += -Iinclude -I../../srv/loader/include -O0 -ggdb |
|
- | 43 | LFLAGS += |
|
42 | 44 | ||
43 | LIBS = $(LIBC_PREFIX)/libc.pic.a $(SOFTINT_PREFIX)/libsoftint.pic.a |
45 | LIBS = $(LIBC_PREFIX)/libc.pic.a $(SOFTINT_PREFIX)/libsoftint.pic.a |
44 | DEFS += -DRELEASE=\"$(RELEASE)\" |
46 | DEFS += -DRELEASE=\"$(RELEASE)\" |
45 | 47 | ||
46 | ifdef REVISION |
48 | ifdef REVISION |
Line 52... | Line 54... | ||
52 | endif |
54 | endif |
53 | 55 | ||
54 | ## Sources |
56 | ## Sources |
55 | # |
57 | # |
56 | 58 | ||
57 | OUTPUT = rtld.so |
59 | OUTPUT = rtld |
58 | GENERIC_SOURCES = \ |
60 | GENERIC_SOURCES = \ |
59 | rtld.c \ |
61 | rtld.c \ |
60 | elf_load.c \ |
62 | elf_load.c \ |
61 | dynamic.c \ |
63 | dynamic.c \ |
62 | module.c \ |
64 | module.c \ |