summaryrefslogtreecommitdiff
path: root/ldso/ldso/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-02-17 10:36:37 +0000
committerEric Andersen <andersen@codepoet.org>2002-02-17 10:36:37 +0000
commit212d547707b0194d5a007ab807a9ba4298bfc6ce (patch)
treedb0e2a3224ada9285551879d35ebb49093c25d5d /ldso/ldso/Makefile
parentd6abdce959e1bf74e6ad8f5c0edcd40461dc1877 (diff)
A ton of cleanups. Eliminate some useless code. Much better
debugging code now. -Erik
Diffstat (limited to 'ldso/ldso/Makefile')
-rw-r--r--ldso/ldso/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/ldso/ldso/Makefile b/ldso/ldso/Makefile
index d7399945a..06cdbbe37 100644
--- a/ldso/ldso/Makefile
+++ b/ldso/ldso/Makefile
@@ -25,11 +25,11 @@
TOPDIR=../../
DOPIC=true
include $(TOPDIR)Rules.mak
-
-
LDSO_FULLNAME=ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).so
-#XXFLAGS += #-DDL_DEBUG #-funroll-loops
+# Enable this to enable debugging output from ld.so
+#XXFLAGS+= -DDL_DEBUG
+
XXFLAGS+=-DUCLIBC_TARGET_PREFIX=\"$(TARGET_PREFIX)\" \
-DUCLIBC_DEVEL_PREFIX=\"$(DEVEL_PREFIX)\" \
-DUCLIBC_BUILD_DIR=\"$(shell cd $(TOPDIR) && pwd)\"
@@ -67,6 +67,9 @@ $(AOBJS): %.o : %.S
$(CC) $(CFLAGS) -I. -I./$(TARGET_ARCH) -I../libdl -c $< -o $@
$(STRIPTOOL) -x -R .note -R .comment $*.o
+ldso.o: ldso.c hash.c readelflib1.c $(TARGET_ARCH)/elfinterp.c \
+ ld_hash.h ld_string.h ld_syscall.h ldso.h linuxelf.h
+
clean::
$(RM) -f $(UCLIBC_LDSO)* $(OBJS) $(LDSO_FULLNAME)* core *.o *.a *.s *.i ldso.h *~