diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-11-06 15:19:05 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-11-06 15:19:05 +0000 |
commit | c01cd02acbed0d0ef29666211bcc05951a14353a (patch) | |
tree | 7b9f3615ecfd097437994ebe9fba3f0764843781 /ldso | |
parent | bd0bf51fa4b9e169dff3784bc3f6488691bc9877 (diff) |
Cleanup patch from Simon Rowe
Diffstat (limited to 'ldso')
-rw-r--r-- | ldso/ldso/Makefile | 13 |
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) |