freebsd-dev/sys/tools
Ryan Stone 04af6e9603 GNU awk does not output escaped newlines in multi-line printc statements. This
leads to compile errors when trying to compile firmware(9) stubs created with
gawk, as multiple #include statements end up on the same line.  Replace the
multi-line printc statement that outputs all of the #includes with one printc
per #include.  This allows modules compatible with firmware(9) to be cross-built
from a Linux machine without requiring the one true awk to be installed.

I've intentionally done the minimal set of changes necessary to make gawk
produce valid (but not pretty) C code, to reduce the churn and keep fw_stubs.awk
as readable as possible.

Approved by:	emaste (mentor)
MFC after:	2 weeks
2011-03-31 21:33:33 +00:00
..
fdt Flattened Device Tree helper scripts. 2010-06-02 17:22:38 +00:00
sound - Increase dynamic range of filter coefficients from 28bit to 30bit. 2009-07-05 18:15:06 +00:00
acpi_quirks2h.awk
bus_macro.sh
embed_mfs.sh
fw_stub.awk GNU awk does not output escaped newlines in multi-line printc statements. This 2011-03-31 21:33:33 +00:00
makeobjops.awk Rename default to default_function, for compatibility with GNU awk. 2009-10-22 20:57:17 +00:00
miidevs2h.awk
pccarddevs2h.awk
usbdevs2h.awk
vnode_if.awk Add an extra comment to the SDT probes definition. This allows us to get 2010-08-22 11:18:57 +00:00