summaryrefslogtreecommitdiff
path: root/extra/scripts/gen_bits_syscall_h.sh
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-09-24 15:19:14 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-09-24 15:19:14 +0000
commitee083c4ca94121f915c801e6e967b3c073265721 (patch)
treeaf06037a210546a029dd10441dc4fc567ebd8388 /extra/scripts/gen_bits_syscall_h.sh
parent1dcde7854d41c347c0208021304eb78bfead968d (diff)
- remove debug cruft
Diffstat (limited to 'extra/scripts/gen_bits_syscall_h.sh')
-rwxr-xr-xextra/scripts/gen_bits_syscall_h.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/scripts/gen_bits_syscall_h.sh b/extra/scripts/gen_bits_syscall_h.sh
index a77fc8b22..f6353baa2 100755
--- a/extra/scripts/gen_bits_syscall_h.sh
+++ b/extra/scripts/gen_bits_syscall_h.sh
@@ -24,7 +24,7 @@ esac
( echo "#include <asm/unistd.h>";
echo "#include <asm/unistd.h>" |
- $CC -E $CC_SYSNUM_ARGS $INCLUDE_OPTS - | tee /tmp/bar |
+ $CC -E $CC_SYSNUM_ARGS $INCLUDE_OPTS - |
sed -ne 's/^[ ]*#define[ ]*\(__ARM_NR_\|__NR_\)\([A-Za-z0-9_]*\).*/UCLIBC\1\2 \1\2/gp' \
-e 's/^[ ]*#undef[ ]*\(__ARM_NR_\|__NR_\)\([A-Za-z0-9_]*\).*/UNDEFUCLIBC\1\2 \1\2/gp' # needed to strip out any kernel-internal defines
) |