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
2
3
4
5
6
7
8
9
10
11
12
13
14
BEGIN {
	FS=" "

	print "#ifndef KIplatform_error"
	print "#define KIplatform_error"
	print "enum k_platform_error {"
}

{ print "\t" $1 " = " $2 "," }

END {
	print "};"
	print "#endif"
}
<
<
<
<
<
<
<
<
<
<
<
<
<
<




























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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
BEGIN {
	if (out == "h") {
		print "#ifndef KIplatform_syscalls"
		print "#define KIplatform_syscalls"
		print "enum k_platform_syscall {"
	}
}

out == "h" { print "\tk_platform_syscall_"$1" = "$2"," } # c header
out == "s" { print "%define sys."$1" "$2 } # assembly

END {
	if (out == "h") {
		print "};"
		print "#endif"
	}
}
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<