OSDN Git Service

Fix to autogen bits/syscall.h, like i386
authorDavid Schleef <ds@schleef.org>
Tue, 3 Jul 2001 01:27:49 +0000 (01:27 -0000)
committerDavid Schleef <ds@schleef.org>
Tue, 3 Jul 2001 01:27:49 +0000 (01:27 -0000)
libc/sysdeps/linux/powerpc/Makefile

index c2190de..0d52510 100644 (file)
@@ -71,8 +71,9 @@ $(COBJS): %.o : %.c
        $(STRIPTOOL) -x -R .note -R .comment $*.o
 
 headers:
        $(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
 
 clean:
        rm -f *.[oa] *~ core
+       rm -f bits/syscall.h