diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-03-01 22:28:19 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-03-01 22:28:19 +0000 |
commit | 54a833f900559bc0a274179c19bfaeabc81b314b (patch) | |
tree | 7716f2271229731eafb7168bbdc3171cc69c9bf9 /Makefile | |
parent | ef9074c17eab44ad0970ac949e7d5672f5b7ef76 (diff) |
Move syscall.h generation to the top level Makefile
-Erik
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -63,7 +63,7 @@ finished: shared @echo Finally finished compiling... @echo -headers1: dummy +headers: dummy @- find include -type l -exec rm -f {} \; @if [ $(TARGET_ARCH) = "powerpc" ];then \ ln -fs $(KERNEL_SOURCE)/include/asm-ppc include/asm; \ @@ -125,8 +125,10 @@ headers1: dummy ln -fs $$i .; \ done; \ fi - -headers: headers1 + @cd $(TOPDIR); \ + set -x -e; \ + rm -f include/bits/syscall.h; \ + TOPDIR=$(TOPDIR) CC=$(CC) /bin/sh $(TOPDIR)/extra/scripts/gen_bits_syscall_h.sh > include/bits/syscall.h $(MAKE) -C libc/sysdeps/linux/$(TARGET_ARCH) headers uClibc_config: Makefile Config |