OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0842310
)
Just take whatever the kernel headers gave us, spaces and all. This is
author
Eric Andersen
<andersen@codepoet.org>
Tue, 3 Jul 2001 03:04:00 +0000
(
03:04
-0000)
committer
Eric Andersen
<andersen@codepoet.org>
Tue, 3 Jul 2001 03:04:00 +0000
(
03:04
-0000)
to accomodate arm, where rmk has made the syscall numbers be very very
strangely setup,
-Erik
extra/scripts/gen_bits_syscall_h.sh
patch
|
blob
|
history
diff --git
a/extra/scripts/gen_bits_syscall_h.sh
b/extra/scripts/gen_bits_syscall_h.sh
index
51f68fc
..
bb31914
100755
(executable)
--- a/
extra/scripts/gen_bits_syscall_h.sh
+++ b/
extra/scripts/gen_bits_syscall_h.sh
@@
-19,7
+19,7
@@
$CC -E - |
echo "#ifndef _SYSCALL_H" ;
echo "# error \"Never use <bits/syscall.h> directly; include <sys/syscall.h> instead.\"" ;
echo "#endif" ; echo ;
- sed -ne 's/^UCLIBC_\([A-Za-z0-9_]*\) *\(
[^ ]
*\)/#define SYS_\1 \2\
+ sed -ne 's/^UCLIBC_\([A-Za-z0-9_]*\) *\(
.
*\)/#define SYS_\1 \2\
#define __NR_\1 \2\
#define __STR_NR_\1 \"\2\"/gp'
)