summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/sysdeps/linux/arm/Makefile1
-rw-r--r--libc/sysdeps/linux/m68k/Makefile1
-rw-r--r--libc/sysdeps/linux/mips/Makefile1
-rw-r--r--libc/sysdeps/linux/sh/Makefile1
-rw-r--r--libc/sysdeps/linux/sparc/Makefile3
-rw-r--r--libc/sysdeps/linux/v850/Makefile2
6 files changed, 8 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/arm/Makefile b/libc/sysdeps/linux/arm/Makefile
index 0ecfe496e..539e4d692 100644
--- a/libc/sysdeps/linux/arm/Makefile
+++ b/libc/sysdeps/linux/arm/Makefile
@@ -64,4 +64,5 @@ headers:
clean:
rm -f *.[oa] *~ core
+ rm -f bits/syscall.h
diff --git a/libc/sysdeps/linux/m68k/Makefile b/libc/sysdeps/linux/m68k/Makefile
index 701f339dd..f9f90ee44 100644
--- a/libc/sysdeps/linux/m68k/Makefile
+++ b/libc/sysdeps/linux/m68k/Makefile
@@ -81,6 +81,7 @@ endif
clean:
rm -f *.[oa] *~ core
+ rm -f bits/syscall.h
ifeq ($(strip $(HAVE_ELF)),false)
rm -f $(TOPDIR)/include/float.h
endif
diff --git a/libc/sysdeps/linux/mips/Makefile b/libc/sysdeps/linux/mips/Makefile
index 2d881d774..3b7e5da63 100644
--- a/libc/sysdeps/linux/mips/Makefile
+++ b/libc/sysdeps/linux/mips/Makefile
@@ -78,4 +78,5 @@ headers:
clean:
rm -f *.[oa] *~ core
+ rm -f bits/syscall.h
diff --git a/libc/sysdeps/linux/sh/Makefile b/libc/sysdeps/linux/sh/Makefile
index 70f3ccacd..72909c989 100644
--- a/libc/sysdeps/linux/sh/Makefile
+++ b/libc/sysdeps/linux/sh/Makefile
@@ -66,4 +66,5 @@ headers:
clean:
rm -f *.[oa] *~ core
+ rm -f bits/syscall.h
diff --git a/libc/sysdeps/linux/sparc/Makefile b/libc/sysdeps/linux/sparc/Makefile
index 430324dae..9e9ffb66d 100644
--- a/libc/sysdeps/linux/sparc/Makefile
+++ b/libc/sysdeps/linux/sparc/Makefile
@@ -59,8 +59,9 @@ $(COBJS): %.o : %.c
$(STRIPTOOL) -x -R .note -R .comment $*.o
headers:
- # no arch-specific headers
+ @(TOPDIR=$(TOPDIR) CC=$(CC) /bin/sh $(TOPDIR)/extra/scripts/gen_bits_syscall_h.sh > bits/syscall.h )
clean:
rm -f *.[oa] *~ core
+ rm -f bits/syscall.h
diff --git a/libc/sysdeps/linux/v850/Makefile b/libc/sysdeps/linux/v850/Makefile
index e571ddad2..5d367ad39 100644
--- a/libc/sysdeps/linux/v850/Makefile
+++ b/libc/sysdeps/linux/v850/Makefile
@@ -67,3 +67,5 @@ headers:
clean:
rm -f *.[oa] *~ core
+ rm -f bits/syscall.h
+