From 75e3be2c706ebd829b5d544dd20b4a00ac4520ea Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Tue, 4 Oct 2005 14:47:17 +0000 Subject: Do not recurse into ldso/libc/libpthread on clean --- ldso/Makefile | 4 +++- ldso/libdl/Makefile | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'ldso') diff --git a/ldso/Makefile b/ldso/Makefile index 340ddfacb..07bf63241 100644 --- a/ldso/Makefile +++ b/ldso/Makefile @@ -43,9 +43,11 @@ include/dl-progname.h: echo '#include "$(TARGET_ARCH)/elfinterp.c"' \ > include/dl-progname.h -clean: subdirs_clean +headers_clean: $(RM) $(HEADERS) +clean: subdirs_clean headers_clean + subdirs: $(patsubst %, _dir_%, $(DIRS)) subdirs_clean: $(patsubst %, _dirclean_%, $(DIRS)) diff --git a/ldso/libdl/Makefile b/ldso/libdl/Makefile index 8101b08e3..76149adbf 100644 --- a/ldso/libdl/Makefile +++ b/ldso/libdl/Makefile @@ -92,4 +92,4 @@ libdl_pic.o: libdl.c $(STRIPTOOL) -x -R .note -R .comment $*.o clean: - $(RM) *.o *~ core *.a + $(RM) *.[oa] *~ core -- cgit v1.2.3