Prechádzať zdrojové kódy

Just take whatever the kernel headers gave us, spaces and all. This is
to accomodate arm, where rmk has made the syscall numbers be very very
strangely setup,
-Erik

Eric Andersen 24 rokov pred
rodič
commit
445db497a2
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      extra/scripts/gen_bits_syscall_h.sh

+ 1 - 1
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'
 )