From 1e857d0ce2a1a487cb3288e8037ebcbfb11184db Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 6 Jul 2005 05:22:48 +0000 Subject: make sure ldso.o depends on more files in subdirs --- ldso/ldso/Makefile | 4 ++-- 1 file 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 *~ -- cgit v1.2.3