summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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