Module Name: src Committed By: pgoyette Date: Fri Feb 7 19:22:21 UTC 2020
Modified Files: src/sys/modules/examples: README Log Message: Improve wording To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/modules/examples/README Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/modules/examples/README diff -u src/sys/modules/examples/README:1.11 src/sys/modules/examples/README:1.12 --- src/sys/modules/examples/README:1.11 Thu Feb 6 22:52:25 2020 +++ src/sys/modules/examples/README Fri Feb 7 19:22:21 2020 @@ -1,4 +1,4 @@ - $NetBSD: README,v 1.11 2020/02/06 22:52:25 kamil Exp $ + $NetBSD: README,v 1.12 2020/02/07 19:22:21 pgoyette Exp $ Kernel Developer's Manual @@ -33,10 +33,10 @@ DESCRIPTION # make S=/data/netbsd/src/sys - The code of a module does not need to be in src/sys unless you use + The code of a module does not need to be in src/sys unless it uses the autoconf(9) framework. - A cross-built of a module for a target platform is possible with the + A cross-build of a module for a target platform is possible with the build.sh framework. You need to generate the toolchain and set appropriately PATH to point bin/ in the TOOLDIR path. An example command to cross-build a module with the amd64 toolchain is as follows: @@ -46,8 +46,8 @@ DESCRIPTION The example modules should not be used on a production machine. - All modules that create a cdevsw should be verified that the major number - should not conflict with a real device. + All modules that create a cdevsw (or bdevsw) should be verified that + the major number(s) should not conflict with a real device. SEE ALSO modctl(2), module(7), modload(8), modstat(8), modunload(8), module(9),