From c01cd02acbed0d0ef29666211bcc05951a14353a Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 6 Nov 2002 15:19:05 +0000 Subject: Cleanup patch from Simon Rowe --- ldso/ldso/Makefile | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'ldso') 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) -- cgit v1.2.3