32,15 → 32,15 |
## Setup toolchain |
# |
|
LIBC_PREFIX = ../../lib/libc |
LIBC_PREFIX = ../../lib/libc-shared |
SOFTINT_PREFIX = ../../lib/softint |
include $(LIBC_PREFIX)/Makefile.toolchain |
include arch/$(ARCH)/Makefile.inc |
|
CFLAGS += -I../../srv/kbd/include -fPIC -O0 -ggdb |
LFLAGS = -shared |
CFLAGS += -I../../srv/kbd/include -I../../srv/console -fPIC -O0 |
LFLAGS = -shared --no-undefined |
|
#LIBS = $(LIBC_PREFIX)/libc.a |
# LIBS = $(LIBC_PREFIX)/libc-pic.a |
LIBS = |
DEFS += -DRELEASE=\"$(RELEASE)\" |
|
57,7 → 57,9 |
|
OUTPUT = rtld.so |
GENERIC_SOURCES = \ |
rtld.c |
rtld.c \ |
ulibc.c \ |
syscall.S |
|
GENERIC_OBJECTS := $(addsuffix .o,$(basename $(GENERIC_SOURCES))) |
ARCH_OBJECTS := $(addsuffix .o,$(basename $(ARCH_SOURCES))) |