From 54a833f900559bc0a274179c19bfaeabc81b314b Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 1 Mar 2002 22:28:19 +0000 Subject: Move syscall.h generation to the top level Makefile -Erik --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e20a6825a..c622d7aa3 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3