From 3bbb08532139c81e23734c1724ea812d8ed543f9 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 26 Jan 2013 14:04:19 -0500 Subject: buildsys: gen_bits_syscall_h: remove top_builddir references This script hasn't used this var in a while (it writes to stdout), so drop all mention/usage of it. Signed-off-by: Mike Frysinger --- Makefile.in | 2 +- 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!!! -- cgit v1.2.3