summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-01-07 09:58:54 +0000
committerEric Andersen <andersen@codepoet.org>2002-01-07 09:58:54 +0000
commitb3f5e468f2c257dac3121984c096ade30e3adf30 (patch)
tree2f5056fff0eba6ff430fbb3700ac15e283f7fb18 /libc/sysdeps/linux
parent8a3b89cb2489048f1f42cd8db81e036c0c1ef2a8 (diff)
Mahe 'make clean' remove generated bits/syscall.h, as
noted by "Kim B. Heino" <Kim.Heino@bluegiga.com> -Erik
Diffstat (limited to 'libc/sysdeps/linux')
-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
+