libk  Check-in [76f1cf8037]

Overview
Comment:delete unnecessary scripts
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 76f1cf8037a8bc4073e94b6c3a54c1706737fc452dd9eb8a5e8c2577c4cdb718
User & Date: lexi on 2019-08-25 00:29:19
Other Links: manifest | tags
Context
2019-08-25
01:05
arch/mktbl.errno.linux.sh: simplify check-in: f45d66f6db user: lachs0r tags: trunk
00:29
delete unnecessary scripts check-in: 76f1cf8037 user: lexi tags: trunk
00:16
arch: add crude script to generate errno tables from Linux sources check-in: b9dd92f73e user: lachs0r tags: trunk
Changes

Deleted arch/errtbl.awk version [4d84a940c1].

     1         -BEGIN {
     2         -	FS=" "
     3         -
     4         -	print "#ifndef KIplatform_error"
     5         -	print "#define KIplatform_error"
     6         -	print "enum k_platform_error {"
     7         -}
     8         -
     9         -{ print "\t" $1 " = " $2 "," }
    10         -
    11         -END {
    12         -	print "};"
    13         -	print "#endif"
    14         -}

Deleted arch/syscall.awk version [23075063af].

     1         -BEGIN {
     2         -	if (out == "h") {
     3         -		print "#ifndef KIplatform_syscalls"
     4         -		print "#define KIplatform_syscalls"
     5         -		print "enum k_platform_syscall {"
     6         -	}
     7         -}
     8         -
     9         -out == "h" { print "\tk_platform_syscall_"$1" = "$2"," } # c header
    10         -out == "s" { print "%define sys."$1" "$2 } # assembly
    11         -
    12         -END {
    13         -	if (out == "h") {
    14         -		print "};"
    15         -		print "#endif"
    16         -	}
    17         -}