diff options
Diffstat (limited to 'extra')
-rwxr-xr-x | extra/scripts/gen_bits_syscall_h.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extra/scripts/gen_bits_syscall_h.sh b/extra/scripts/gen_bits_syscall_h.sh index 4345388f4..c44cd8fa4 100755 --- a/extra/scripts/gen_bits_syscall_h.sh +++ b/extra/scripts/gen_bits_syscall_h.sh @@ -50,7 +50,8 @@ EOF sed -n -r -e 's/^UCLIBC(__ARM_NR_|__NR_)([A-Za-z0-9_]*) *(.*)/#undef \1\2\ #define \1\2 \3\ #define SYS_\2 \1\2/gp' \ - -e 's/^UNDEFUCLIBC(__ARM_NR_|__NR_)([A-Za-z0-9_]*).*/#undef \1\2/gp' + -e 's/^UNDEFUCLIBC(__ARM_NR_|__NR_)([A-Za-z0-9_]*).*/#undef \1\2\ +#undef SYS_\2/gp' cat <<-EOF #endif |