From fe8cd7e5ad6dc2789cd7a77490926a1495965a7f Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Mon, 28 Oct 2002 08:34:38 +0000 Subject: Define TOPDIR to be just `.' when invoking gen_bits_syscall_h.sh, since we've already chdir'ed to $(TOPDIR). --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c3689541c..c5f69e132 100644 --- a/Makefile +++ b/Makefile @@ -143,7 +143,7 @@ headers: dummy @cd $(TOPDIR); \ set -x -e; \ rm -f include/bits/sysnum.h; \ - TOPDIR=$(TOPDIR) CC=$(CC) /bin/sh $(TOPDIR)/extra/scripts/gen_bits_syscall_h.sh > include/bits/sysnum.h + TOPDIR=. CC=$(CC) /bin/sh extra/scripts/gen_bits_syscall_h.sh > include/bits/sysnum.h $(MAKE) -C libc/sysdeps/linux/$(TARGET_ARCH) headers uClibc_config: Makefile Config -- cgit v1.2.3