OSDN Git Service

Mahe 'make clean' remove generated bits/syscall.h, as
authorEric Andersen <andersen@codepoet.org>
Mon, 7 Jan 2002 09:58:54 +0000 (09:58 -0000)
committerEric Andersen <andersen@codepoet.org>
Mon, 7 Jan 2002 09:58:54 +0000 (09:58 -0000)
noted by "Kim B. Heino" <Kim.Heino@bluegiga.com>
 -Erik

libc/sysdeps/linux/arm/Makefile
libc/sysdeps/linux/m68k/Makefile
libc/sysdeps/linux/mips/Makefile
libc/sysdeps/linux/sh/Makefile
libc/sysdeps/linux/sparc/Makefile
libc/sysdeps/linux/v850/Makefile

index 0ecfe49..539e4d6 100644 (file)
@@ -64,4 +64,5 @@ headers:
 
 clean:
        rm -f *.[oa] *~ core
+       rm -f bits/syscall.h
 
index 701f339..f9f90ee 100644 (file)
@@ -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
index 2d881d7..3b7e5da 100644 (file)
@@ -78,4 +78,5 @@ headers:
 
 clean:
        rm -f *.[oa] *~ core
+       rm -f bits/syscall.h
 
index 70f3cca..72909c9 100644 (file)
@@ -66,4 +66,5 @@ headers:
 
 clean:
        rm -f *.[oa] *~ core
+       rm -f bits/syscall.h
 
index 430324d..9e9ffb6 100644 (file)
@@ -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
 
index e571dda..5d367ad 100644 (file)
@@ -67,3 +67,5 @@ headers:
 
 clean:
        rm -f *.[oa] *~ core
+       rm -f bits/syscall.h
+