summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-11-06 15:19:05 +0000
committerEric Andersen <andersen@codepoet.org>2002-11-06 15:19:05 +0000
commitc01cd02acbed0d0ef29666211bcc05951a14353a (patch)
tree7b9f3615ecfd097437994ebe9fba3f0764843781 /ldso
parentbd0bf51fa4b9e169dff3784bc3f6488691bc9877 (diff)
Cleanup patch from Simon Rowe
Diffstat (limited to 'ldso')
-rw-r--r--ldso/ldso/Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/ldso/ldso/Makefile b/ldso/ldso/Makefile
index e386408ce..e3c03c003 100644
--- a/ldso/ldso/Makefile
+++ b/ldso/ldso/Makefile
@@ -26,6 +26,8 @@ TOPDIR=../../
include $(TOPDIR)Rules.mak
LDSO_FULLNAME=ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so
+
+
XXFLAGS+=-DUCLIBC_TARGET_PREFIX=\"$(TARGET_PREFIX)\" \
-DUCLIBC_DEVEL_PREFIX=\"$(DEVEL_PREFIX)\" \
-DUCLIBC_BUILD_DIR=\"$(shell cd $(TOPDIR) && pwd)\"
@@ -41,10 +43,19 @@ ifeq ($(strip $(TARGET_ARCH)),cris)
LDFLAGS+=-mcrislinux
endif
-ifneq ($(strip $(DODEBUG)),true)
+ifneq ($(strip $(DODEBUG)),y)
LDFLAGS+=-s
endif
+ifeq ($(strip $(SUPPORT_LD_DEBUG)),y)
+XXFLAGS+=-D__SUPPORT_LD_DEBUG__
+endif
+
+ifeq ($(strip $(SUPPORT_LD_DEBUG_EARLY)),y)
+XXFLAGS+=-D__SUPPORT_LD_DEBUG_EARLY__
+endif
+
+
all: lib
lib:: ldso.h $(OBJS) $(DLINK_OBJS)