summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-01-26 14:04:19 -0500
committerMike Frysinger <vapier@gentoo.org>2013-01-26 14:04:19 -0500
commit3bbb08532139c81e23734c1724ea812d8ed543f9 (patch)
tree2f843e0ba390788783bdf0d044f3419d6c0d49c7
parentbb701610aaa645644bfa046b30711fc5acb7c6c2 (diff)
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 <vapier@gentoo.org>
-rw-r--r--Makefile.in2
-rwxr-xr-xextra/scripts/gen_bits_syscall_h.sh7
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!!!