summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
Diffstat (limited to 'ldso')
-rw-r--r--ldso/ldso/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldso/ldso/Makefile b/ldso/ldso/Makefile
index f06c1d32a..eb05d1f4f 100644
--- a/ldso/ldso/Makefile
+++ b/ldso/ldso/Makefile
@@ -52,7 +52,7 @@ endif
CSRC= ldso.c
COBJS=$(patsubst %.c,%.o, $(CSRC))
-ASRC=$(shell ls $(TARGET_ARCH)/*.S)
+ASRC=$(shell ls $(TARGET_ARCH)/*.S 2>/dev/null)
AOBJS=$(patsubst %.S,%.o, $(ASRC))
OBJS=$(AOBJS) $(COBJS)
@@ -92,4 +92,4 @@ ldso.o: $(CSRC) dl-elf.c dl-hash.c dl-startup.c dl-debug.c \
$(TARGET_ARCH)/*.h $(TARGET_ARCH)/*.c $(TOPDIR)ldso/include/*.h
clean:
- $(RM) $(UCLIBC_LDSO)* $(OBJS) $(LDSO_FULLNAME)* core *.o *.a *.s *.i ldso.h *~
+ $(RM) $(UCLIBC_LDSO) $(LDSO_FULLNAME) core *.o */*.o *.a *.s *.i ldso.h *~