freebsd-dev/sys/tools
Kyle Evans d3276301ab Add makesyscalls.lua, a rewrite of makesyscalls.sh
This currently requires a suitable lua + luafilesystem + luaposix from the
ports tree to build. Discussion is underway in D21893 to add a suitable lua
to the base system, cleverly disguised and out of the way of normal
consumers.

makesyscalls.sh is a good target for rewrite into lua as it's currently a
sh+sed+awk script that can be difficult to add on to, at times. For
instance, adding a new COMPAT* option (that mimicks the behaivor of most
other COMPAT* options) requires a fairly substantial amount of copy/paste;
see r352693 for instance. Attempts to generate part of the awk script for
COMPAT* handling was (very kindly) rejected with a desire to just rewrite
the script in a single language that can handle all of it.

Reviewed by:	brooks
Differential Revision:	https://reviews.freebsd.org/D21775
2019-11-17 14:08:19 +00:00
..
fdt make_dtb.sh: Use $CPP instead of assuming that cpp is in $PATH 2018-12-14 23:53:28 +00:00
sound sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
acpi_quirks2h.awk sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
bus_macro.sh sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
embed_mfs.sh embed_mfs.sh: replace some compound statements with conventional ifs 2018-11-02 21:07:06 +00:00
fw_stub.awk fw_stub.awk: use @generated tag in generated files 2019-09-11 13:35:22 +00:00
makeobjops.awk Avoid literal @generated tag in file-generating scripts 2019-05-08 13:35:51 +00:00
makesyscalls.lua Add makesyscalls.lua, a rewrite of makesyscalls.sh 2019-11-17 14:08:19 +00:00
miidevs2h.awk sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
pccarddevs2h.awk sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
sdiodevs2h.awk Add SDIO support. 2019-06-08 16:26:56 +00:00
usbdevs2h.awk Avoid using \$. It's an unknown escape sequence. Some awks warn about 2018-01-28 05:13:08 +00:00
vnode_if.awk Avoid literal @generated tag in file-generating scripts 2019-05-08 13:35:51 +00:00