opkg

statically linked package installer
git clone anongit@rnpnr.xyz:opkg.git
Log | Files | Refs | Feed | Submodules | README | LICENSE

scno.awk (162B)


      1 BEGIN {
      2 	FS = "[][\"]"
      3 }
      4 
      5 {
      6 	name = $4
      7 	number = int($2)
      8 	print "#ifndef __NR_" name
      9 	print "# define __NR_" name " (SYSCALL_BIT | " number ")"
     10 	print "#endif"
     11 }