git: 8cc22227ffdf - stable/13 - Update a couple of tools to not embed __FBSDID in generated files
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 24 Oct 2023 18:37:06 UTC
The branch stable/13 has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=8cc22227ffdf98a49c6761431e493146fbeabf87
commit 8cc22227ffdf98a49c6761431e493146fbeabf87
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2023-09-25 14:50:11 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-10-24 18:13:18 +0000
Update a couple of tools to not embed __FBSDID in generated files
Reviewed by: imp, emaste
Differential Revision: https://reviews.freebsd.org/D41955
(cherry picked from commit 99159b076a278d1feb0e18ae99fd866c90443893)
---
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++) {