Pārlūkot izejas kodu

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 gadi atpakaļ
vecāks
revīzija
445db497a2
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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'
 )