aboutsummaryrefslogtreecommitdiff
path: root/sys/tools
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2019-09-11 13:35:22 +0000
committerEd Maste <emaste@FreeBSD.org>2019-09-11 13:35:22 +0000
commit9a069ff5ae0c9a3a2df8ed6ead58dbf8714d25cf (patch)
treec59f7d6b7080f8cf9c3d96deb89f480821310459 /sys/tools
parent21fae2d64f5a157655462209394c97560ba0cef3 (diff)
downloadsrc-9a069ff5ae0c9a3a2df8ed6ead58dbf8714d25cf.tar.gz
src-9a069ff5ae0c9a3a2df8ed6ead58dbf8714d25cf.zip
fw_stub.awk: use @generated tag in generated files
Multiple tools use @generated to identify generated files (for example, in a review Phabricator will by default hide diffs in enerated files). Use the @generated tag in makesyscalls.sh as we've done for other generated files.
Notes
Notes: svn path=/head/; revision=352213
Diffstat (limited to 'sys/tools')
-rw-r--r--sys/tools/fw_stub.awk4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/tools/fw_stub.awk b/sys/tools/fw_stub.awk
index 1c4827ec228e..ea9f6ab8cd9b 100644
--- a/sys/tools/fw_stub.awk
+++ b/sys/tools/fw_stub.awk
@@ -123,8 +123,10 @@ ctmpfilename = cfilename ".tmp";
modname = opt_m;
gsub(/[-\.]/, "_", modname);
+# Avoid a literal generated file tag here.
+generated = "@" "generated";
printc("/*\
- * Automatically generated by:\
+ * Automatically " generated " by:\
* $FreeBSD$\
*/");
printc("#include <sys/param.h>");