aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2023-09-25 14:50:11 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2023-09-25 14:50:11 +0000
commit99159b076a278d1feb0e18ae99fd866c90443893 (patch)
tree26ef3fa3e6cb9c3800eb1f288085670766e193f9
parent16837d353cdde87672d08112610e51e4121c4e50 (diff)
Update a couple of tools to not embed __FBSDID in generated files
Reviewed by: imp, emaste Differential Revision: https://reviews.freebsd.org/D41955
-rwxr-xr-xsys/dev/bnxt/convert_hsi.pl6
-rw-r--r--tools/tools/drm/radeon/mkregtable/mkregtable.c5
2 files changed, 0 insertions, 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++) {