make_*_driver.sh: Don't include $FreeBSD$ in generated files

Reviewed by:	imp, emaste
Differential Revision:	https://reviews.freebsd.org/D41950
This commit is contained in:
John Baldwin 2023-09-25 07:46:09 -07:00
parent 82ddab0e8f
commit 97232e04ca
2 changed files with 0 additions and 14 deletions

View file

@ -34,8 +34,6 @@ else
fi
UPPER=`echo ${1} |tr "[:lower:]" "[:upper:]"`
RCS_KEYWORD=FreeBSD
if [ -d ${TOP}/modules/${1} ]; then
echo "There appears to already be a module called ${1}"
echo -n "Should it be overwritten? [Y]"
@ -90,7 +88,6 @@ DONE
#######################################################################
cat >${TOP}/i386/conf/${UPPER} <<DONE
# Configuration file for kernel type: ${UPPER}
# \$${RCS_KEYWORD}$
files "${TOP}/conf/files.${UPPER}"
@ -142,9 +139,6 @@ cat >${TOP}/dev/${1}/${1}.c <<DONE
* hopefully it will make it's way into the handbook.
*/
#include <sys/cdefs.h>
__FBSDID("\$${RCS_KEYWORD}$");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/conf.h> /* cdevsw stuff */
@ -956,8 +950,6 @@ fi
cat >${TOP}/modules/${1}/Makefile <<DONE
# ${UPPER} Loadable Kernel Module
#
# \$${RCS_KEYWORD}: $
.PATH: \${.CURDIR}/../../dev/${1}
KMOD = ${1}

View file

@ -74,7 +74,6 @@ DONE
cat >${TOP}/i386/conf/${UPPER} <<DONE
# Configuration file for kernel type: ${UPPER}
# \$FreeBSD\$
files "${TOP}/conf/files.${UPPER}"
@ -120,9 +119,6 @@ cat >${TOP}/dev/${1}/${1}.c <<DONE
* ${1} driver
*/
#include <sys/cdefs.h>
__FBSDID("\$FreeBSD\$");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h> /* SYSINIT stuff */
@ -389,8 +385,6 @@ fi
cat >${TOP}/modules/${1}/Makefile <<DONE
# ${UPPER} Loadable Kernel Module
#
# \$FreeBSD\$
.PATH: \${.CURDIR}/../../dev/${1}
KMOD = ${1}