Browse Source

Mahe 'make clean' remove generated bits/syscall.h, as
noted by "Kim B. Heino" <Kim.Heino@bluegiga.com>
-Erik

Eric Andersen 22 years ago
parent
commit
b3f5e468f2

+ 1 - 0
libc/sysdeps/linux/arm/Makefile

@@ -64,4 +64,5 @@ headers:
 
 clean:
 	rm -f *.[oa] *~ core
+	rm -f bits/syscall.h
 

+ 1 - 0
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

+ 1 - 0
libc/sysdeps/linux/mips/Makefile

@@ -78,4 +78,5 @@ headers:
 
 clean:
 	rm -f *.[oa] *~ core
+	rm -f bits/syscall.h
 

+ 1 - 0
libc/sysdeps/linux/sh/Makefile

@@ -66,4 +66,5 @@ headers:
 
 clean:
 	rm -f *.[oa] *~ core
+	rm -f bits/syscall.h
 

+ 2 - 1
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
 

+ 2 - 0
libc/sysdeps/linux/v850/Makefile

@@ -67,3 +67,5 @@ headers:
 
 clean:
 	rm -f *.[oa] *~ core
+	rm -f bits/syscall.h
+