Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Sep 2019 13:35:22 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r352213 - head/sys/tools
Message-ID:  <201909111335.x8BDZM3R071642@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Wed Sep 11 13:35:22 2019
New Revision: 352213
URL: https://svnweb.freebsd.org/changeset/base/352213

Log:
  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.

Modified:
  head/sys/tools/fw_stub.awk

Modified: head/sys/tools/fw_stub.awk
==============================================================================
--- head/sys/tools/fw_stub.awk	Wed Sep 11 13:34:19 2019	(r352212)
+++ head/sys/tools/fw_stub.awk	Wed Sep 11 13:35:22 2019	(r352213)
@@ -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>");



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909111335.x8BDZM3R071642>