Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F137138081
D41950.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D41950.diff
View Options
diff --git a/share/examples/drivers/make_device_driver.sh b/share/examples/drivers/make_device_driver.sh
--- a/share/examples/drivers/make_device_driver.sh
+++ b/share/examples/drivers/make_device_driver.sh
@@ -34,8 +34,6 @@
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 @@
#######################################################################
cat >${TOP}/i386/conf/${UPPER} <<DONE
# Configuration file for kernel type: ${UPPER}
-# \$${RCS_KEYWORD}$
files "${TOP}/conf/files.${UPPER}"
@@ -142,9 +139,6 @@
* 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 @@
cat >${TOP}/modules/${1}/Makefile <<DONE
# ${UPPER} Loadable Kernel Module
-#
-# \$${RCS_KEYWORD}: $
.PATH: \${.CURDIR}/../../dev/${1}
KMOD = ${1}
diff --git a/share/examples/drivers/make_pseudo_driver.sh b/share/examples/drivers/make_pseudo_driver.sh
--- a/share/examples/drivers/make_pseudo_driver.sh
+++ b/share/examples/drivers/make_pseudo_driver.sh
@@ -74,7 +74,6 @@
cat >${TOP}/i386/conf/${UPPER} <<DONE
# Configuration file for kernel type: ${UPPER}
-# \$FreeBSD\$
files "${TOP}/conf/files.${UPPER}"
@@ -120,9 +119,6 @@
* ${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 @@
cat >${TOP}/modules/${1}/Makefile <<DONE
# ${UPPER} Loadable Kernel Module
-#
-# \$FreeBSD\$
.PATH: \${.CURDIR}/../../dev/${1}
KMOD = ${1}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 22, 5:59 AM (17 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25921403
Default Alt Text
D41950.diff (1 KB)
Attached To
Mode
D41950: make_*_driver.sh: Don't include $FreeBSD$ in generated files
Attached
Detach File
Event Timeline
Log In to Comment