Browse Source

Cleanup patch from Simon Rowe

Eric Andersen 21 years ago
parent
commit
c01cd02acb
1 changed files with 12 additions and 1 deletions
  1. 12 1
      ldso/ldso/Makefile

+ 12 - 1
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)