summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-07-26 05:21:56 +0000
committerEric Andersen <andersen@codepoet.org>2002-07-26 05:21:56 +0000
commit4063399147372a80c04cd23ecb3896767b673a2c (patch)
treebc5b57185d7a35486f338fbb9d8a4c90c4addf27
parentc7b1e319fbf9b9ac820208d17fc6a18382824da1 (diff)
Ok, I get it. sjhill kept adding the 'find' command since
include/sgidefs.h wasn't getting scrubbed. Fix it so this symlink gets properly scrubbed, even for mipsel. -Erik
-rw-r--r--Makefile1
-rw-r--r--libc/sysdeps/linux/mips/Makefile1
2 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 59f5bb8ea..ae0142e3b 100644
--- a/Makefile
+++ b/Makefile
@@ -375,6 +375,7 @@ distclean clean:
$(MAKE) -C libc/sysdeps/linux/$(TARGET_ARCH) clean; \
fi;
@if [ $(TARGET_ARCH) = "mipsel" ]; then \
+ $(MAKE) -C libc/sysdeps/linux/mips clean; \
rm -f ldso/ldso/mipsel; \
rm -f libc/sysdeps/linux/mipsel; \
rm -f libpthread/linuxthreads/sysdeps/mipsel; \
diff --git a/libc/sysdeps/linux/mips/Makefile b/libc/sysdeps/linux/mips/Makefile
index a3fe845e8..31710b0d5 100644
--- a/libc/sysdeps/linux/mips/Makefile
+++ b/libc/sysdeps/linux/mips/Makefile
@@ -67,4 +67,5 @@ headers:
clean:
rm -f *.[oa] *~ core
rm -f bits/syscall.h
+ rm -f $(TOPDIR)/include/sgidefs.h