diff options
author | Khem Raj <kraj@mvista.com> | 2008-06-27 04:01:29 +0000 |
---|---|---|
committer | Khem Raj <kraj@mvista.com> | 2008-06-27 04:01:29 +0000 |
commit | d3f9546960f56c05624e2932a899db7f1d38a480 (patch) | |
tree | 6c63cec6c57ad8060a4b6ef983b3b24ece5fc87c /extra/scripts/gen_bits_syscall_h.sh | |
parent | da3e789d079c47fea519270269e0c63dd5d497e2 (diff) | |
download | uClibc-alpine-d3f9546960f56c05624e2932a899db7f1d38a480.tar.bz2 uClibc-alpine-d3f9546960f56c05624e2932a899db7f1d38a480.tar.xz |
Sync build machinery stuff from trunk. Some more fixed for mips nptl port
Diffstat (limited to 'extra/scripts/gen_bits_syscall_h.sh')
-rwxr-xr-x | extra/scripts/gen_bits_syscall_h.sh | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/extra/scripts/gen_bits_syscall_h.sh b/extra/scripts/gen_bits_syscall_h.sh index 116534ab3..c0b4c25f5 100755 --- a/extra/scripts/gen_bits_syscall_h.sh +++ b/extra/scripts/gen_bits_syscall_h.sh @@ -8,9 +8,10 @@ # 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 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. # # Warning!!! This does _no_ error checking!!! @@ -28,7 +29,8 @@ esac -e 's/^[ ]*#undef[ ]*__NR_\([A-Za-z0-9_]*\).*/UNDEFUCLIBC_\1 __NR_\1/gp' # needed to strip out any kernel-internal defines ) | $CC -E $INCLUDE_OPTS - | -( echo "/* WARNING!!! AUTO-GENERATED FILE!!! DO NOT EDIT!!! */" ; echo ; +( echo "/* WARNING!!! AUTO-GENERATED FILE!!! DO NOT EDIT!!! */" ; + echo ; echo "#ifndef _BITS_SYSNUM_H" ; echo "#define _BITS_SYSNUM_H" ; echo ; |