diff options
-rw-r--r-- | Makefile.in | 2 | ||||
-rwxr-xr-x | extra/scripts/gen_bits_syscall_h.sh | 7 |
2 files changed, 4 insertions, 5 deletions
diff --git a/Makefile.in b/Makefile.in index f503928a4..35d611993 100644 --- a/Makefile.in +++ b/Makefile.in @@ -175,7 +175,7 @@ $(top_builddir)include/bits/sysnum.h: $(top_srcdir)extra/scripts/gen_bits_syscal $(Q)set -e; \ tmp=`mktemp $(top_builddir)include/bits/sysnum.h.XXXXXX 2>/dev/null || true`; \ [ -z "$$tmp" ] && tmp='$(top_builddir)include/bits/sysnum.h.new'; \ - KERNEL_HEADERS="${KERNEL_HEADERS}" top_builddir="$(top_builddir)" CC="$(CC) $(CPU_CFLAGS)" $(SHELL) $< > $$tmp; \ + KERNEL_HEADERS="${KERNEL_HEADERS}" CC="$(CC) $(CPU_CFLAGS)" $(SHELL) $< > $$tmp; \ if cmp $(top_builddir)include/bits/sysnum.h $$tmp >/dev/null 2>&1; then \ $(RM) $$tmp; \ else \ diff --git a/extra/scripts/gen_bits_syscall_h.sh b/extra/scripts/gen_bits_syscall_h.sh index 4d42f6949..d4b59c485 100755 --- a/extra/scripts/gen_bits_syscall_h.sh +++ b/extra/scripts/gen_bits_syscall_h.sh @@ -8,10 +8,9 @@ # June 27, 2001 Manuel Novoa III # -# This script expects top_builddir and CC (as used in the Makefiles) to be set -# in the environment, and outputs the appropriate -# $top_builddir/include/bits/sysnum.h # corresponding to -# $top_builddir/include/asm/unistd.h to stdout. +# This script expects CC (as used in the Makefiles) to be set +# in the environment, and outputs the appropriate bits/sysnum.h # +# corresponding to asm/unistd.h to stdout. # # Warning!!! This does _no_ error checking!!! |