summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-01-18 23:30:31 +0000
committerMike Frysinger <vapier@gentoo.org>2005-01-18 23:30:31 +0000
commit99e973a956a6d682f3014d1b35a8ff4cb557bd0e (patch)
tree78c158b54c76bfcd4b67c64934a4d41fedb602b0 /ldso
parentd1155a7c1e364182e441ead2d7bd3e445cd8f8bb (diff)
rework dependencies so the archive is re-created only when the object files have been updated
Diffstat (limited to 'ldso')
-rw-r--r--ldso/ldso/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/ldso/ldso/Makefile b/ldso/ldso/Makefile
index 2f90adedb..777b43475 100644
--- a/ldso/ldso/Makefile
+++ b/ldso/ldso/Makefile
@@ -70,11 +70,11 @@ endif
#This stuff will not work with -fomit-frame-pointer
XXFLAGS := $(XXFLAGS:-fomit-frame-pointer=)
-all: lib
+all: $(LDSO_FULLNAME)
-lib:: $(OBJS) $(DLINK_OBJS)
+$(LDSO_FULLNAME): $(OBJS) $(DLINK_OBJS)
$(LD) $(LDFLAGS) -e _dl_boot -soname=$(UCLIBC_LDSO) \
- -o $(LDSO_FULLNAME) $(OBJS) $(LIBGCC);
+ -o $(LDSO_FULLNAME) $(OBJS) $(LIBGCC)
$(INSTALL) -d $(TOPDIR)lib
$(INSTALL) -m 755 $(LDSO_FULLNAME) $(TOPDIR)lib
$(LN) -sf $(LDSO_FULLNAME) $(TOPDIR)lib/$(UCLIBC_LDSO)