summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-06 05:22:48 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-06 05:22:48 +0000
commit1e857d0ce2a1a487cb3288e8037ebcbfb11184db (patch)
treef38ee35f93cdaf157fcc768a5641f72956c81931
parent47b3efda36beee1ce272237f77b7c4cc62ed55a7 (diff)
make sure ldso.o depends on more files in subdirs
-rw-r--r--ldso/ldso/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldso/ldso/Makefile b/ldso/ldso/Makefile
index c304b0344..c0bfc81e3 100644
--- a/ldso/ldso/Makefile
+++ b/ldso/ldso/Makefile
@@ -83,7 +83,7 @@ $(LDSO_FULLNAME): $(OBJS) $(DLINK_OBJS)
$(INSTALL) -m 755 $(LDSO_FULLNAME) $(TOPDIR)lib
$(LN) -sf $(LDSO_FULLNAME) $(TOPDIR)lib/$(UCLIBC_LDSO)
-$(COBJS): %.o : %.c $(TOPDIR)ldso/include/*.h
+$(COBJS): %.o : %.c
$(CC) $(XXFLAGS) -I../libdl -c $< -o $@
$(STRIPTOOL) -x -R .note -R .comment $*.o
@@ -92,7 +92,7 @@ $(AOBJS): %.o : %.S
$(STRIPTOOL) -x -R .note -R .comment $*.o
ldso.o: $(CSRC) dl-elf.c dl-hash.c dl-startup.c \
- $(TARGET_ARCH)/dl-startup.h
+ $(TARGET_ARCH)/*.h $(TARGET_ARCH)/*.c $(TOPDIR)ldso/include/*.h
clean:
$(RM) $(UCLIBC_LDSO)* $(OBJS) $(LDSO_FULLNAME)* core *.o *.a *.s *.i ldso.h *~