From 96749a768287761528a05670560402a16f6839ac Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 2 Apr 2002 21:12:37 +0000 Subject: Steven J. Hill's latest mips dynamic loader updates --- Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ac6b27bc0..0455a2ac9 100644 --- a/Makefile +++ b/Makefile @@ -332,16 +332,17 @@ finished2: distclean clean: @rm -rf tmp lib include/bits libc/tmp _install - - find include -type l -exec rm -f {} \; - - find . \( -name \*.o -o -name \*.a -o -name \*.so -o -name core -o -name .\#\* \) -exec rm -f {} \; $(MAKE) -C test clean $(MAKE) -C ldso clean $(MAKE) -C libc/misc clean $(MAKE) -C libc/unistd clean $(MAKE) -C libc/sysdeps/linux/common clean - $(MAKE) -C libc/sysdeps/linux/$(TARGET_ARCH) clean $(MAKE) -C extra/gcc-uClibc clean - find . -name mipsel -exec rm -rf {} \; + @if [ -d libc/sysdeps/linux/$(TARGET_ARCH) ]; then \ + $(MAKE) -C libc/sysdeps/linux/$(TARGET_ARCH) clean; \ + fi; + - find . \( -name \*.o -o -name \*.a -o -name \*.so -o -name core -o -name .\#\* \) -exec rm -f {} \; + - find -type l -exec rm -f {} \; dist release: distclean cd ..; \ -- cgit v1.2.3