summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-09-27 07:37:48 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-09-27 07:37:48 +0000
commitf4551c6a62cf1bdd97d3153588d2b0278ee8c905 (patch)
treedfab0d5846faeb6f6762ad02b3618f8643bb31e0 /ldso
parentcffc73dfd244387b76ed7a4e1bb78a75323e5956 (diff)
Remove created objects independently of TARGET_ARCH and kill 3 warnings
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 *~