Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Sep 2023 14:58:13 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 99159b076a27 - main - Update a couple of tools to not embed __FBSDID in generated files
Message-ID:  <202309251458.38PEwDGN044586@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=99159b076a278d1feb0e18ae99fd866c90443893

commit 99159b076a278d1feb0e18ae99fd866c90443893
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2023-09-25 14:50:11 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-09-25 14:50:11 +0000

    Update a couple of tools to not embed __FBSDID in generated files
    
    Reviewed by:    imp, emaste
    Differential Revision:  https://reviews.freebsd.org/D41955
---
 sys/dev/bnxt/convert_hsi.pl                    | 6 ------
 tools/tools/drm/radeon/mkregtable/mkregtable.c | 5 -----
 2 files changed, 11 deletions(-)

diff --git a/sys/dev/bnxt/convert_hsi.pl b/sys/dev/bnxt/convert_hsi.pl
index df59aeab6cc9..19f5d2d3aea1 100755
--- a/sys/dev/bnxt/convert_hsi.pl
+++ b/sys/dev/bnxt/convert_hsi.pl
@@ -55,9 +55,6 @@ print OUT <<END_OF_NOTICE;
  *   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include <sys/cdefs.h>
-__FBSDID("\$FreeBSD\$");
-
 END_OF_NOTICE
 
 # Convert line endings
@@ -132,9 +129,6 @@ if ($do_decode) {
 	 *   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 	 */
 
-	#include <sys/cdefs.h>
-	__FBSDID("\$FreeBSD\$");
-
 END_OF_NOTICE
 
 	if(!open(HDR, ">", "hsi_struct_decode.h")) {
diff --git a/tools/tools/drm/radeon/mkregtable/mkregtable.c b/tools/tools/drm/radeon/mkregtable/mkregtable.c
index e0b94561f5cd..e39264fbcd2b 100644
--- a/tools/tools/drm/radeon/mkregtable/mkregtable.c
+++ b/tools/tools/drm/radeon/mkregtable/mkregtable.c
@@ -593,11 +593,6 @@ static void table_print(struct table *t)
 
 	nlloop = (t->nentry + 3) / 4;
 	c = t->nentry;
-	printf(
-	    "#include <sys/cdefs.h>\n"
-	    "__FBSDID(\"$" "FreeBSD" "$\");\n"
-	    "\n"
-	    );
 	printf("static const unsigned %s_reg_safe_bm[%d] = {\n", t->gpu_prefix,
 	       t->nentry);
 	for (i = 0, id = 0; i < nlloop; i++) {



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